After running comclean a new file is created without the commercials. However, the new file has lost the metadata.xml alternate data stream. I have added the following code to my comclean2.bat file:
if EXIST "%~dpn1_original.mpg" more < "%~dpn1_original.mpg:metadata.xml" > "%~dpn1.mpg:metadata.xml"
which will copy the metadata.xml alternate data stream from the original file (with _original.mpg name) to the new clean file (now renamed to the creation file name).
It works if you want to keep the metadata.xml attached to the clean file.
PROBLEM - After this the file is then renamed using KingAgle's RenameRecording.exe to the episode name, does anyone know how to update the metadata.xlm data to the new name given by RenameRecording.exe?
if EXIST "%~dpn1_original.mpg" more < "%~dpn1_original.mpg:metadata.xml" > "%~dpn1.mpg:metadata.xml"
which will copy the metadata.xml alternate data stream from the original file (with _original.mpg name) to the new clean file (now renamed to the creation file name).
It works if you want to keep the metadata.xml attached to the clean file.
PROBLEM - After this the file is then renamed using KingAgle's RenameRecording.exe to the episode name, does anyone know how to update the metadata.xlm data to the new name given by RenameRecording.exe?