NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 … 93 Next »
How Does "Use S01E01 File naming format if possible" work

 
  • 0 Vote(s) - 0 Average
How Does "Use S01E01 File naming format if possible" work
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#1
2015-08-24, 01:21 PM
Hi all,

I hope someone can help :confused:

I have written a REXX Script to grab the Season and or Episode details from EPG_EVENT.description and update EPG_EVENT.season and EPG_EVENT.episode.

The setting "Use S01E01 file naming format if possible" has been enabled via the GUI.

I have noticed that scheduled recordings with the season set to 0 and episode > 0 do not get ".S00E0x" appended to the program name. :eek:
where as season set to 1 and episode > 0 are appended. (see below for a couple of "UPDATED" entries from EPG_EVENT.

"1066129" "Backroads USA" "(S.1,Ep.5) Route 66 ................... #SBSDoco" "1" "5" "7152"
"1067273" "Ben 10: Omniverse" "Frogs Of War (Part 2)Ben, ..........................." "0" "2" "7156"

It appears that to get the episode number I will have to fudge the Season number ie set it to "99" (no show runs for 99 seasons Big Grin )

Suggestion .... With the above switch set to on and season set to 0 but episode > 0 that " E0X" be appended to the program name.
With the above switch set to on and season set to > 0 and episode set to > 0 that " S0XE0X" be appended to the program name.
ignore seasons without an episode.
A note to SUB .. note "NO DOTS", I know you like DOTS Big Grin

[COLOR="#ff33ff"]Regards,
Mark
(There are two theories about how to win an argument with a woman. Neither one works.)[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2015-08-24, 05:10 PM
It only does the this file names if season is 1 or above. 0 is used to signify that it doesn't know this information.
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#3
2015-08-24, 10:23 PM
sub Wrote:It only does the this file names if season is 1 or above. 0 is used to signify that it doesn't know this information.

Hi Sub,

Thanks for the info.

I will have to fudge the season if I don't find it Sad

I extract a lot of episodes and Part X without a season, like the following.
Australias Deadliest Destinations - Part 3
A Walk on the Wild Side - Paul Murton ...... (Part 3 of 6) #SBSDoco

What is the chance of outputting the Episode Number if the Season is 0 eg "Toasted.TV.E01.ts" AND REMOVE THE DOTS Big Grin

Regards,
Mark
(Remember not to forget that which you don' t need to know.)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#4
2015-08-24, 10:30 PM
puck64 Wrote:What is the chance of outputting the Episode Number if the Season is 0 eg "Toasted.TV.E01.ts
To be honest, probably not. You could probably roll your own solution though, renaming the file in postprocessing.bat and using NScriptHelper.exe to update the database.

Since you're manipulating the season/episode info in the database, you could consider updating these shows without a season number to be season 1. This would at least get you a file with the episode number included.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,843
Threads: 954
Joined: May 2006
#5
2015-08-25, 12:49 AM
As an FYI, season zero has a meaning to Kodi and Plex and thetvdb. It is used for specials related to an episodic series. Here is an example for Doctor Who (2005) http://thetvdb.com/?tab=season&seriesid=...6260&lid=7

Martin
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#6
2015-08-25, 04:26 AM
mvallevand Wrote:As an FYI, season zero has a meaning to Kodi and Plex and thetvdb. It is used for specials related to an episodic series. Here is an example for Doctor Who (2005) http://thetvdb.com/?tab=season&seriesid=...6260&lid=7

Martin

Thanks Martin
In that case I have no chance in hell in getting it changed.
My work around is to make the Season = 888 or was that 999 where I have an Episode only.

I have to edit the file name to remove the DOTS and add the Channel so removing the season is just another step Smile

Regards,
Mark
(Remember not to forget that which you don' t need to know.)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#7
2015-08-25, 05:28 AM
I've made a change for the next release to allow a season of zero, as long as the episode number is non-zero, giving S00E01 etc.
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#8
2015-08-25, 10:21 AM
sub Wrote:I've made a change for the next release to allow a season of zero, as long as the episode number is non-zero, giving S00E01 etc.

Hi Sub,

You have made my day Big Grin Big Grin
But will it upset the Kodi, Plex and thetvdb users ?????????

Quote:As an FYI, season zero has a meaning to Kodi and Plex and thetvdb. It is used for specials related to an episodic series. Here is an example for Doctor Who (2005) http://thetvdb.com/?tab=season&serie...id=26260&lid=7

Feel Free to us my REXX code within NextPVR (converted to C, C++ C# or whatever)

Copy attached
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG_EVENT.genres format bgowland 2 2,259 2014-08-10, 05:49 AM
Last Post: bgowland
  NEWA - using buffer file produced by /public/VLCService?Channel= bgowland 5 2,780 2014-01-02, 06:36 AM
Last Post: bgowland
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,761 2013-10-08, 02:25 AM
Last Post: sub
  Accessing music file metadata in C# bgowland 6 3,270 2013-01-26, 05:14 AM
Last Post: bgowland
  how does RecordingService.ArchiveRecording work exactly? reven 4 2,135 2012-11-30, 11:01 AM
Last Post: reven
  How does @visible work? mvallevand 11 4,551 2011-05-19, 02:49 AM
Last Post: sub
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,073 2011-03-12, 05:26 AM
Last Post: bgowland
  File browsing - a big ask imilne 3 1,984 2010-11-04, 09:03 PM
Last Post: imilne
  Run Multiple File Conversions On Your 4 Core -Burn Your Processor luttrell1962 12 4,538 2010-03-25, 07:33 AM
Last Post: luttrell1962
  Using Windows file system shortcuts ACTCMS 0 1,791 2010-01-26, 11:45 PM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode