NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 10 11 12 13 14 … 102 Next »
Help with PostProcessing.bat and Episode names

 
  • 0 Vote(s) - 0 Average
Help with PostProcessing.bat and Episode names
TVHelp
Offline

Member

Posts: 84
Threads: 16
Joined: Sep 2011
#1
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!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#2
2024-10-06, 09:05 PM
You are using unsupported options that the documentation doesn't even list https://github.com/sub3/NextPVR/wiki/nscripthelper

The subtitle name should already be part of the file though, if it has S/E data. The next version is better at extracting subtitles and season/episode maybe wait for it before tweaking.

Martin
TVHelp
Offline

Member

Posts: 84
Threads: 16
Joined: Sep 2011
#3
2024-10-06, 10:07 PM (This post was last modified: 2024-10-06, 10:07 PM by TVHelp.)
Oh, I see, subtitle was moved to the XML file that you are now creating. It use to be in NScriptHelper, because it is working right now on my Win 7 pc Smile Not sure I can read through an xml via the batch job, so I will wait for the next version.

Also, subtitle name is only part of the file name if you choose to use the S01E01 format (which generally I do not like). But that does get me closer in the interim while waiting for the next version to be available.

Thank you for the documentation!! Fantastic, lots of goodies there. I guess internet search does not hit this or I should have found it previously.

Another question. The timing file, what is it and is it safe to delete after recording? And what about the thumbnails file... just too many files now, looks overwhelming.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#4
2024-10-06, 10:16 PM (This post was last modified: 2024-10-06, 10:17 PM by mvallevand.)
There are logs of differences since v4 too many to name and some where removed.

The thumbnail and timing file never made the wiki but could be useful if you NextPVR.exe, the web player or UI clients, the give image based skipping. I posted this link on the Kodi forum https://forum.kodi.tv/showthread.php?tid=376477 since they don't provide value to other client, since your are renaming fiiles I guess you don't use NextPVR client. You can see how it might help to skip commercials etc.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  ffmpeg in postprocessing fails on spaces in filename Druhl 3 475 2025-03-29, 06:25 PM
Last Post: mvallevand
  postprocessing tsduck on recordings Druhl 3 436 2025-03-07, 02:24 AM
Last Post: mvallevand
  PostProcessing.bat, Can I do this? three6zerocool 15 2,191 2023-09-26, 11:39 AM
Last Post: three6zerocool
  PostProcessing.bat Boots315 6 1,158 2023-06-26, 01:08 AM
Last Post: Boots315
  PostProcessing.bat puck64 15 1,822 2023-06-21, 09:26 AM
Last Post: puck64
  NextPVR - wrong parsing of episode data? chjohans 7 1,394 2022-10-10, 09:55 AM
Last Post: chjohans
  Scheduled Series Episode Stopped Recording Halfway Through. Chris4877 6 1,365 2022-09-12, 12:48 AM
Last Post: Chris4877
  already got this episode: (recently deleted) gEd 12 2,242 2021-12-09, 12:33 AM
Last Post: sub
  XMLTV Episode Unique ID bsperduto 10 2,697 2021-11-13, 06:00 PM
Last Post: sub
  any episode of America's Got Talent automatically deleted after watching johnsonx42 30 7,174 2021-10-27, 03:09 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode