2009-10-02, 09:34 PM
I have been using WizRenameRecording for a while and it is a great tool. I need to make a change to how things are set up. Therefore, I need to update my postprocess.bat. Will this work?
I do have 2 issues that I have with WizRenameRecording that I'm hoping to resolve with the above script:
1. I occassionally get a blank file name (ex. ".ts")
2. I occassionally get the show name and time of recording (ex. "Gary Unmarried_20090930_20302100.ts").
How horrible is that bat file?
Code:
@ECHO OFF
CLS
: START
if "{episode}" is null (
if exist "d:\media\recordedtv\" "{show}" (
move "%~f1" "D:\Media\RecordedTV\" "{show}"
) else (
md "d:\media\recordedtv\" "{show}"
move "%~f1" "D:\Media\RecordedTV\" "{show}"
) else (
WizRenameRecording "%~f1" "{episode}"
if exist "d:\media\recordedtv\" "{show}" (
move "%~f1" "{episode}" "D:\Media\RecordedTV\" "{show}"
) else (
md "d:\media\recordedtv\" "{show}"
move "%~f1" "{episode}" "D:\Media\RecordedTV\" "{show}"
)
: END
I do have 2 issues that I have with WizRenameRecording that I'm hoping to resolve with the above script:
1. I occassionally get a blank file name (ex. ".ts")
2. I occassionally get the show name and time of recording (ex. "Gary Unmarried_20090930_20302100.ts").
How horrible is that bat file?