First: I have been using this code to rename my files. It has been working great, unless you are doing a manual recording, in which case you get just the first letter of the original name with --- after it since there is no actual show or episode information. If there is a way to add a fix for it to just skip these types or leave the original name in the future that it would be great. I don't have too many of these types of recordings - mostly do this when sports have delayed shows past original schedule and I through in a manual recording to capture a unique time frame for the recording.
Second (the real reason for this post): I would like to add a trigger to run my ccExtractor at the end of this code, since I want it to run automatically for each recording it would fit here perfectly. I have added the code to the end of the script but it appears that the the file name does not include the file directory so the ccExtractor is not finding the file - it is creating an empty .srt in the script folder.
Can anyone tell me how to get the full directory information to add to the file name so this will work?
I have added the following to the code....
set CCExtract=C:\Progra~2\CCExtractor\ccextractorwin.exe
%CCExtract% "%newname%%~x1" -out=srt -utf8 --nofontcolor -trim
When run manually the "%newname%%~x1" would be a full name like c:\\recordings\RecordingName.ts
Your help would be greatly appreciated
P.s. please disregard the space in the exe line above - that only appears in this forum - don't know why, I have retyped it several times. But it appears the code does run as an srt is being generated.
Second (the real reason for this post): I would like to add a trigger to run my ccExtractor at the end of this code, since I want it to run automatically for each recording it would fit here perfectly. I have added the code to the end of the script but it appears that the the file name does not include the file directory so the ccExtractor is not finding the file - it is creating an empty .srt in the script folder.
Can anyone tell me how to get the full directory information to add to the file name so this will work?
I have added the following to the code....
set CCExtract=C:\Progra~2\CCExtractor\ccextractorwin.exe
%CCExtract% "%newname%%~x1" -out=srt -utf8 --nofontcolor -trim
When run manually the "%newname%%~x1" would be a full name like c:\\recordings\RecordingName.ts
Your help would be greatly appreciated
P.s. please disregard the space in the exe line above - that only appears in this forum - don't know why, I have retyped it several times. But it appears the code does run as an srt is being generated.