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 … 12 13 14 15 16 … 433 Next »
Forcing a SXXEXXX when one doesn't exist

Forcing a SXXEXXX when one doesn't exist
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#1
2019-12-07, 04:06 PM
Hello. I have everything running nice and NextPVR records and adds to my PLEX library on my NAS.  

If i record a program that doesn't have a S00E00 format it creates the file with date+time. For example, recording right now and it writes it as "The Carpenters Close to You & Christmas Memories (My Music Presents)_20191207_10301230".  

When I go to watch in PLEX, it won't see it because it is looking for a S00E00 format. Is there any way to have "_20191207_10301230" written as "S2019E1207"? As soon as I manually change it, PLEX sees it.   I watch a lot of news and there are not S00E00 formats in SD tv guide for that.  

I try to use the PLEX PVR but it is not nearly as reliable as NextPVR. 

Thanks everyone, great product and great community. 
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2019-12-08, 03:45 PM (This post was last modified: 2019-12-08, 03:58 PM by JavaWiz.)
If you are familiar with batch scripts, I think you could do this via a custom script, probably Postprocessing.bat would be best.   When renaming, if you want to keep the NextPVR db in-sync, make a call NScriptHelper.exe (updates the entry in db, not on file-system)

I would however suggest you use the full date and time as the Season Episode designators, as the name must be unique.  If you were to record multiple episodes of a program on the same date, you might get a collision with what you have proposed.

Ex.
The Carpenters Close to You & Christmas Memories (My Music Presents)_20191207_10301230
would become:
The Carpenters Close to You & Christmas Memories (My Music Presents)_S20191207E10301230
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#3
2019-12-08, 04:24 PM
I do something slightly more complicated with my Kodi integration script. Basically if there is no season/episode number in the guide my post processing script changes it to S00Exx and creates a .nfo file so that Kodi can import it into the library. I don't know if Plex uses .nfo files (or if it would matter), but maybe you can get some ideas from my script.

https://github.com/pkscout/trigger.kodiscan
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#4
2019-12-08, 04:56 PM
Kodi has an advancedsetting.xml option to accept custom formats

Code:
<tvshowmatching action="prepend">
      <regexp>[\\/\._ -](20[0-9]{6})_.+\.ts</regexp>  <!-- Match NextPVR date as a season -->
    </tvshowmatching>

This tells Kodi that NextPVR files are TV Shows without renaming.

Plex might have something similar.

Martin
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#5
2019-12-09, 07:28 PM
Thanks for the input. I was hoping there was a checkbox somewhere that did this :-)

I will give it a shot.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#6
2019-12-09, 07:42 PM
(2019-12-09, 07:28 PM)bigoldboy Wrote: I was hoping there was a checkbox somewhere that did this :-)
Nope - if there was no season/episode numbers, it made no sense to make these types of file names.
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#7
2019-12-09, 11:50 PM
(2019-12-09, 07:42 PM)sub Wrote:
(2019-12-09, 07:28 PM)bigoldboy Wrote: I was hoping there was a checkbox somewhere that did this :-)
Nope - if there was no season/episode numbers, it made no sense to make these types of file names.

Hmmm.  I am a big news fan. I like to record cable news which has not season/episode, but I want plex to see it. Would that not be a good reason to want a function like this?

I am just struggling how to rename the file using a batch file. The only python coding I do is in a kodi addon, but this has nothing to do with Kodi.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#8
2019-12-09, 11:57 PM
(2019-12-09, 11:50 PM)bigoldboy Wrote: Hmmm.  I am a big news fan. I like to record cable news which has not season/episode, but I want plex to see it. Would that not be a good reason to want a function like this?
I totally understand why you want it - I was just saying that when I implemented this stuff using 'season/episode naming' didn't make sense when you didn't have season/episode numbers, so I didn't implement a feature like that.

NextPVR v4 has reached the end of the road for new features. I can look into a feature like this in v5 though.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#9
2019-12-10, 12:24 AM
I totally think this is a question for the Plex forums.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#10
2019-12-10, 12:33 AM
I am surprised Plex isn't able to handle different format names.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR Recording Service doesn't install from Services SamM 4 2,030 2020-08-02, 01:11 AM
Last Post: SamM
  2020 TV Guide Doesn't Show up rmahlberg 14 9,322 2020-01-04, 06:43 PM
Last Post: sub
  Local News M3U8 link doesn't play audio caseguy 37 12,500 2019-11-26, 05:11 PM
Last Post: caseguy
  Issue with Beast IPTV recording - Skipping + Doesn't record full show abrupt ending russmehta01 3 3,011 2019-02-26, 09:20 PM
Last Post: sub
  NextPVR Kodi plugin doesn't remeber the group setting when it is re-run Beeman 5 1,682 2019-01-11, 11:53 PM
Last Post: Beeman
  4.2.3 install doesn't update version in config.xml sgilani 3 1,605 2018-11-12, 05:17 AM
Last Post: sub
  Mdapi stopped working, Acamd doesn't get any data Sheik Yerbouti 4 2,300 2018-09-17, 06:27 AM
Last Post: Reddwarf
  NextPVR Refuses to Record if signal doesn't lock fast enough ChaosMageX 2 1,730 2018-05-02, 08:26 PM
Last Post: ChaosMageX
  VLC Media Player doesn't play 4.1.0 BrianGGG 2 1,491 2018-03-13, 02:42 PM
Last Post: BrianGGG
  Channels with AC3 give laggy video and doesn't work when streaming jeppetinghoej 12 3,259 2018-02-26, 09:23 PM
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