2024-10-06, 08:45 PM
I am installing the latest NextPVR on a brand new computer (Windows 11). My old computer only had the desktop app (Windows 7), so I am trying to adjust things. My old batch jobs are not working with the new setup. I noticed the directory changes from NPVR to NextPVR and made those updates but am continuing to get error right from the start of the batch job:
'The filename, directory name, or volume label syntax is incorrect'
Do you have any documentation on NScriptHelper that I can reference?
Here is first part of the batch job:
REM @echo off
cd "C:\Users\Public\NPVR-Data\scripts"
set NSHelper=C:\Program Files\NextPVR\NScriptHelper.exe >>MyBatch.log
set subtitle=?
FOR /F "tokens=*" %%i in ('%NSHelper% -title "%~f1"') do SET title="%%i"
FOR /F "tokens=*" %%i in ('%NSHelper% -subtitle "%~f1"') do SET subtitle="%%i"
Goal is to rename and insert the subtitle (episode name) then run a closed caption extraction after that.
However, after some debugging it seem the TV guide no longer contains episode info so subtitle is returning the title as well. I can't remember if I did something special to get that 10 years ago when I first setup NPVR. Do you know what I need to do to get that?
Thank you!
'The filename, directory name, or volume label syntax is incorrect'
Do you have any documentation on NScriptHelper that I can reference?
Here is first part of the batch job:
REM @echo off
cd "C:\Users\Public\NPVR-Data\scripts"
set NSHelper=C:\Program Files\NextPVR\NScriptHelper.exe >>MyBatch.log
set subtitle=?
FOR /F "tokens=*" %%i in ('%NSHelper% -title "%~f1"') do SET title="%%i"
FOR /F "tokens=*" %%i in ('%NSHelper% -subtitle "%~f1"') do SET subtitle="%%i"
Goal is to rename and insert the subtitle (episode name) then run a closed caption extraction after that.
However, after some debugging it seem the TV guide no longer contains episode info so subtitle is returning the title as well. I can't remember if I did something special to get that 10 years ago when I first setup NPVR. Do you know what I need to do to get that?
Thank you!