<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Onlydarksets &#187; DTb Action</title>
	<atom:link href="http://onlydarksets.com/tag/dtb-action/feed/" rel="self" type="application/rss+xml" />
	<link>http://onlydarksets.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 14 Oct 2010 01:04:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Action: AdjustMetaData</title>
		<link>http://onlydarksets.com/2008/01/29/adjustmetadata/</link>
		<comments>http://onlydarksets.com/2008/01/29/adjustmetadata/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 06:53:20 +0000</pubDate>
		<dc:creator>onlydarksets</dc:creator>
				<category><![CDATA[DVRMSToolbox]]></category>
		<category><![CDATA[DTb Action]]></category>

		<guid isPermaLink="false">http://onlydarksets.wordpress.com/?p=92</guid>
		<description><![CDATA[This Action will write certain meta data to the CutDvrmsFile Context. By default, it will create two new meta data fields (and default them to the following values): WM/Toolname = DVRMSToolbox WM/ToolVersion = &#60;currentversion&#62; (e.g., 1.2.1.0) You can also do the following: FixSlider &#8211; not sure why you would do this, but it sets the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://onlydarksets.files.wordpress.com/2008/01/dtb_adjustmetadata.gif" alt="AdjustMetaData" /></p>
<p>This Action will write certain meta data to the CutDvrmsFile Context.  By default, it will create two new meta data fields (and default them to the following values):</p>
<ul>
<li>WM/Toolname = DVRMSToolbox</li>
<li>WM/ToolVersion = &lt;currentversion&gt; (e.g., 1.2.1.0)</li>
</ul>
<p>You can also do the following:</p>
<ul>
<li>FixSlider &#8211; not sure why you would do this, but it sets the WM/WMRVEndTime and WM/MediaOriginalRunTime fields.</li>
<li>AddTooledToDescription &#8211;  prepends the MetaMarker value to the WM/SubTitleDescription field.  You can then check this value in a processing condition to see if the file has run through a particular Profile.</li>
<li>IncrementScheduleItem &#8211; not sure why you would do this, but it increments WM/WMRVScheduleItemID.</li>
</ul>
<p>Using <a href="http://blogs.msdn.com/toub/archive/2005/05/12/416874.aspx" target="_blank">Toub&#8217;s DVR-MS meta data editor</a>, you can see the following meta data fields and values have been added:</p>
<p><img src="http://onlydarksets.files.wordpress.com/2008/01/dtb_adjustmetadata_toubeditor.gif" alt="dtb_adjustmetadata_toubeditor.gif" /></p>
<p>A few important notes:</p>
<ol>
<li><b>AdjustMetaData only writes to the CutDVRMSFile Context</b>.  So, if you want to edit the input file (for example), you need to first copy the InputFile Context to the CutDVRMSFile Context.  You can set the CutDVRMSFile value by:
<ol>
<li>Add a ChangeContextValue Action</li>
<li>SourceContext = &lt;Context for which you want to update the meta data&gt;</li>
<li>TargetContext = CutDVRMSFile</li>
<li>FindRegex = (.*)</li>
<li>ReplaceRegex = $1</li>
</ol>
</li>
<li><b>This should be the last Action in your Profile</b>.  Otherwise, if there is a failure, the file will be marked as successfully processed when, in fact, it was not.  Also, due to #1, if you set it too early you could muck up another Action that legitimately needs to use the CutDVRMSFile Context (e.g., cutting commercials from DVR-MS).</li>
<li><b>Regenerate MetaTags.bin</b>.  MetaTags.bin is a list of all meta data that can be evaluated by a Processing Condition.  The &#8220;stock&#8221; MetaTags.bin does not include WM/Toolname.  If you want to evaluate WM/Toolname, you need to first run a Profile that sets WM/Toolname on a DVR-MS file, and <u>then</u> run <b>Generate MetaTags.bin</b> from the Processing Condition dialog box (and select the DVR-MS file you just modified).</li>
</ol>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fonlydarksets.com%2F2008%2F01%2F29%2Fadjustmetadata%2F&amp;title=Action%3A%20AdjustMetaData" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlydarksets.com/2008/01/29/adjustmetadata/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

