I posted a method for converting SageTV files to iPod/iPhone compliant files a while back, but a number of the files weren’t converting properly. I also had problems with mencoder cutting commercials out of the files. So, I retooled the approach, and I am now getting 100% success, using the approach outlined below.
Archive for the ‘HowTo’ Category
Posted by onlydarksets on January 2, 2009
Posted by onlydarksets on January 15, 2008
I came up with a regular expression that should allow full access to the path, filename, and extension when using the ChangeContextValue Action. I’m sure there is a more efficient way to do it, but this works just fine.
- $1 = E:\Recorded TV\subdir\another one\Dirty Sexy Money_WJLA-DT_10_10_2007_22_00_01.dvr-ms
- $2 = E:\Recorded TV\subdir\another one\
- $3 = Dirty Sexy Money_WJLA-DT_10_10_2007_22_00_01
- $4 = dvr-ms
So, if you want to change the extension, the ReplaceRegex value would be:
If you want to change the path, the ReplaceRegex would be:
I don’t suggest using this to change the filename (use the AdvancedFileRename Action instead). However, if you insist, the ReplaceRegex would be:
Posted by onlydarksets on September 22, 2007
Hello World – Profiles
Profiles are the brains behind the DVR-MS processing and conversion performed by DTb. Profiles are stored as individual files in the C:\Program Files\DVRMSToolbox\Profiles directory.
This tutorial will walk you through the building and executing a basic Profile that renames the input file. The screenshots are from Windows XP, but apply equally to Windows Media Center 2005 and Windows Vista.
First, open DVRMStoMPEGGUI from the Start menu.
Select Tools then Settings from the menu to bring up the DVRMSToolboxSettings window (you can also run this directly from the Start menu).
Click the New Profile button to bring up the Profile dialog.
Enter a short name with no spaces in Name and a longer description (spaces OK) in Description.
· The Name field is used to set the filename. Make sure the value you use here is not already in use in the C:\Program Files\DVRMSToolbox\Profiles directory. If you use a value that is the same as a file name (minus the “dpc” extension), it will overwrite the existing file.
· The Description field is displayed in the DVRMSToolboxSettings window. Duplicates are OK, but it makes it very hard to tell which Profile you are executing.
Click the Add button to bring up the NewPlugin (Action selection) window.
Select Durrant.Plugins.AdvancedFileRename, and then click the Select button to bring up the Configure dialog.
Set the ContextFile field to InputFile, and click the OK button.
Click the Save button in the Profile dialog.
Click the Save button in the DVRMSToolboxSettings window.
In the DVRMSToolboxGUI window, double click in the Input File textbox to bring up the File dialog. Select a DVR-MS file.
Enter any valid path and any filename in the Output File textbox (it doesn’t matter for this Profile, because it only modifies the input file).
Select your new Profile from the Profile drop-down listbox.
Click the Run button. The output will be displayed in the window, and, when the Profile is done executing, a confirmation dialog will display asking if you want to save the output to a log file.
Now, when you check the filename of the InputFile, you will see the Title – Episode – Air Date, instead of the default Windows Media Center filename.