Fixing the Duration Bug
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
- babgvant’s DVRMSToolbox
- babgvant’s FixDVRMSDuration (copy EXE to C:\Program Files\DVRMSToolbox\)
Step 1: Create a new Profile
- Add ChangeContextValue Action:
- SourceContext = InputFile
- TargetContext = OutputFile
- FindRegex = ^((.*\\)(.*)\.(.*))\z
- ReplaceRegex = E:\$3 (FIXED).$4
(NOTE: use a path to a temporary location that is outside the Watched Folder but on the same drive)
- Add RunExternal Action:
- ProcessName = C:\Program Files\DVRMSToolbox\FixDVRMSDuration.exe
- ArgumentsContext = “%InputFile%” “%OutputFile%”
(NOTE: you must include the quotes)
- Add FileOperation Action:
- ContextFile = InputFile
- 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.) - WhatOperation = Move
(NOTE: you could also just delete the input files by setting this to “Delete”)
- Add FileOperation Action:
- ContextFile = OutputFile
- 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
- Two criteria:
- Filename does not contain “(FIXED)”
- Duration < ~15 minutes

So, what’s the impact of this bug? What exactly is it not doing correctly?
This is the issue:
http://thegreenbutton.com/forums/thread/246174.aspx
I’ll add it to the post for context.