This is about a multi-purpose program I've been working on to help fix my W7MC and ComSkip problems. I'll add more information here when I'm ready to share it.
Functions
ComSkip
Find recordings missing a comskip file (XML file in C:\Users\Public\DvrmsToolbox\CommercialsXml), or that have a "bad" XML file.
Delete "bad" (too small) XML files from CommercialsXml.
Convert WTV files to DVR-MS files using VideoRedo.
Rescan DVR-MS files still missing XML comskip XML information with comskip.exe.
Do all the above automatically as a scheduled task or via an optional service.
Kill Stuck SA
Find ShowAnalyzerEngine process that have been running too long and kill them.
Multiple Disks
Move old recordings or recordings for a particular series from one disk to another.
Move Movies
Find movies in Recorded TV folder and move them to the Movies folder.
The purpose of this automatic task is to find WTV files that SA failed to process and convert them to the DVRMS. Procedure:
Find WTV files with no corresponding valid comskip XML file.
See if .log file has errors like "Unexpected error: Error initializing metadata parser", or were recorded X hours ago and no log file exists.
Convert to DVRMS (removes WTV version on success).
At this time, expect DVRMSToolbox file watcher to pick up new DVRMS file and queue for SA processing (usually works).
Consider small XML files as incomplete and non-existent.
Add command-line verbs and options so it can run as a scheduled task.
Add complex criteria for selecting ShowAnalyzerEngine processes to kill.
In interactive mode, make some chores run in another thread to allow user to do other things. Add monitor for the background tasks.