onlydarksets

Just another WordPress.com weblog

Fixing the Duration Bug

Posted by onlydarksets on January 15, 2008

NOTE: This post is in progress. If it doesn’t work, try this workaround instead.

What’s the Problem?

In certain scenarios, VMC will record a show and incorrectly set the duration to approximately 5-6 minutes.  VMC thinks the show is that long, so skipping through causes it to jump around erratically.  This does not affect Windows MCE 2005, and it does not happen with all cards.  It also does not happen with all capture cards, or to everyone with a particular capture card.

For more information, see this thread over at TGB.

What You Need

Step 1: Create a new Profile

  1. Add ChangeContextValue Action:
    1. SourceContext = InputFile
    2. TargetContext = OutputFile
    3. FindRegex = ^((.*\\)(.*)\.(.*))\z
    4. ReplaceRegex = E:\$3 (FIXED).$4
      (NOTE: use a path to a temporary location that is outside the Watched Folder but on the same drive)
  2. Add RunExternal Action:
    1. ProcessName = C:\Program Files\DVRMSToolbox\FixDVRMSDuration.exe
    2. ArgumentsContext = “%InputFile%” “%OutputFile%”
      (NOTE: you must include the quotes)
  3. Add FileOperation Action:
    1. ContextFile = InputFile
    2. DestinationPath = E:\BAD_DURATION_FILES\
      (NOTE: use a path to a temporary location that is outside the Watched Folder but on the same drive. You can also just delete the input files if you want.)
    3. WhatOperation = Move
      (NOTE: you could also just delete the input files by setting this to “Delete”)
  4. Add FileOperation Action:
    1. ContextFile = OutputFile
    2. DestinationPath = E:\Recorded TV\
      (NOTE: this should be your Recorded TV directory. Once the file is moved, it will be processed as a new file)

Step 2: Create a New Processing Condition

  1. Two criteria:
    1. Filename does not contain “(FIXED)”
    2. Duration < ~15 minutes

2 Responses to “Fixing the Duration Bug”

  1. cohoman said

    So, what’s the impact of this bug? What exactly is it not doing correctly?

  2. This is the issue:
    http://thegreenbutton.com/forums/thread/246174.aspx

    I’ll add it to the post for context.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: