NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 202 203 204 205 206 … 433 Next »
Sub-Title renaming using NSHelper not working correctly since 3.3.8 upgrade

Sub-Title renaming using NSHelper not working correctly since 3.3.8 upgrade
TVHelp
Offline

Member

Posts: 84
Threads: 16
Joined: Sep 2011
#1
2014-10-30, 03:52 PM
I have a script that renames my recorded files to include the sub-title or episode title. I upgraded yesterday to 3.3.8 and all my recording renaming has the category in place of the sub-title, like 'Sitcom' or 'Drama'. The sub-title information is displayed correctly in NPVR and the db. Any idea what has changed or how I may need to modify my script to get it right in 3.3.8?

The renaming part of my script is as follows:

REM now let's get the show title and subtitle, then sanitize them
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
set title=%title:?=-%
set title=%title:/=-%
set title=%title:\=-%
set title=%title::=-%

set subtitle=%subtitle:?=-%
set subtitle=%subtitle:/=-%
set subtitle=%subtitle:\=-%
set subtitle=%subtitle::=-%

REM pull the original timestamp
echo %1 > %3.tmp
For /F "eol=; tokens=1,2,3* delims=_,." %%i in (%3.tmp) Do SET timestamp=%%j_%%k
del %3.tmp

REM now make a new name
set newname=%title%-%subtitle%-%timestamp%
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2014-10-30, 05:57 PM
oops, I don't recall anyone testing nscripthelper during 3.3 testing. I suppose it probably needs to be updated.

that said, I long ago switched to mvallevand's imageGrabLite for renaming. It gives you season/episode number, and usually gets movies right too.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,734
Threads: 767
Joined: Nov 2003
#3
2014-10-30, 06:07 PM
Can you confirm if this fixes it?
TVHelp
Offline

Member

Posts: 84
Threads: 16
Joined: Sep 2011
#4
2014-10-30, 10:15 PM
That fixed it. Thank you for the quick responseSmile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  HDHomerun recording bizzarely not working Jean0987654321 3 2,044 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 2,838 2020-04-20, 03:20 AM
Last Post: eastavin
  Absolute Newbie OTA EPG not working as expected. n8lbv 4 2,622 2020-04-02, 06:03 PM
Last Post: mvallevand
  Live TV not working jresnick 21 10,236 2020-01-04, 06:26 PM
Last Post: BrettB
  Channel Titles change, recurring recordings cannot be pointed to new title. GuruSR 3 1,900 2019-08-18, 06:18 AM
Last Post: sub
  Some Channels not working jasonwilliams 7 2,179 2019-08-01, 06:31 PM
Last Post: sub
  NextPVR has Stopped Working rgc101 0 1,126 2019-05-27, 11:24 PM
Last Post: rgc101
  Cancel button not working in web interface antenna 0 977 2019-05-20, 04:45 PM
Last Post: antenna
  Title/Filename Issue macgyver 2 1,138 2019-05-14, 04:51 PM
Last Post: mvallevand
  [title].ts.map jcole998 6 2,174 2019-05-12, 08:33 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