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 … 115 116 117 118 119 … 433 Next »
XMLTV and NPVR, how to get episode numbers in EPG?

XMLTV and NPVR, how to get episode numbers in EPG?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,000
Threads: 956
Joined: May 2006
#11
2016-09-23, 09:26 PM
The wiki and the forum search should help (always best to start there).

It is automated in the postprocessing process.

Martin
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#12
2016-09-24, 06:59 PM
sub Wrote:I can probably look at providing some more options in the future. Unfortunately you've time your run wrong for asking though - with the next version NextPVR pretty much ready for release now.

It'd still need add time in some situations though, like if you're recording two episodes of a show on the same day.

I am no expert on the above 3 media servers but I think the date, if available, should be the Original Air Date of the episode so that the scrapper(s) can do the proper lookup. At least that is how it works for Plex the few times I had to do a rename. If no Original Air Date is available then you would have to default to today's date.
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#13
2016-09-24, 07:07 PM
leChat Wrote:Is there anyway to automate this or is this a manual thing that you are doing? Anyway you could point me towards resources to do this?

I have the donator version of XMLTV for grabbing the data.

After you have downloaded and installed imageGrabLite you will need to edit/create a PostProcessing.bat file in the Scripts folder. You should expect about a 95% to 100% success rate. with TV shows.

The file will look something like this:

c:
cd "C:\Program Files (x86)\NPVR"
"C:\Program Files (x86)\NPVR\imageGrabLite.exe" --oid %3 --rename
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#14
2016-09-24, 07:52 PM
scJohn Wrote:I am no expert on the above 3 media servers but I think the date, if available, should be the Original Air Date of the episode so that the scrapper(s) can do the proper lookup.
There is still lots of shows that air two episodes on the premiere or finale night.
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#15
2016-09-25, 06:51 PM (This post was last modified: 2016-09-25, 06:54 PM by scJohn.)
Here is an example NCIS: Los Angeles. EPG (scheduleDirect) shows 2 hours in duration covering 2 episodes.

If episode information the only thing you could do would have a file name of NCIS Los Angeles-High Value Target 2016.09.26.ts.

IF the EPG had two 1 hour shows instead you would have:
NCIS Los Angeles-High Value Target 2016.09.26.ts
NCIS Los Angeles-Belly of the Beast 2016.09.26.ts

Going back to the original two hour version and valid episode information, for Plex I would expect something like: NCIS Los Angeles-High Value Target.S08E01-E02.ts
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,000
Threads: 956
Joined: May 2006
#16
2016-09-25, 07:18 PM (This post was last modified: 2016-09-25, 07:35 PM by mvallevand.)
That NCIS file is actually a problem because iGL trusts the season number when it is set. If it wasn't it would use the subtitles and properly name it as

NCIS Los Angeles.S08E01-E02.High Value Target; Belly of the Beast.ts

which gives two entries in Kodi. I have been trying to figure out the best way to deal with this for a while but in the meantime use --zap2it to override the check. BrettB also noted that NextPVR updated a DLL which broke iGL renaming movies so I will post this soon but it isn't a big deal for SD user.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,000
Threads: 956
Joined: May 2006
#17
2016-09-26, 08:20 PM
If people are wondering why the crazy filename, this is what Kodi does with it, 2 db entries for the file with separate resume points. I was going to fake it with iGL with a 50% resume point but I could see people deleting the first file in error.

Martin
leChat
Offline

Junior Member

Posts: 14
Threads: 2
Joined: Aug 2016
#18
2016-09-28, 08:00 PM
Thanks all! Haven't forgotten about this thread. I am trying to get my encoding to do properly before tackling the (rather) trivial name change.
leChat
Offline

Junior Member

Posts: 14
Threads: 2
Joined: Aug 2016
#19
2016-09-30, 07:45 PM
So, if I rename the file, does it affect other command lines in my postprocessing bat file?

If I were to add this:

cd "C:\Program Files (x86)\NPVR"
"C:\Program Files (x86)\NPVR\imageGrabLite.exe" --oid %3 --rename

Where can I put it in my postprocessing:

"C:\comskip\comskip.exe" %1
cscript //nologo "C:\Program Files (x86)\VideoReDoTVSuite4\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /p:"MPEG2 Program stream" /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.ts" "%~dpn1_original.ts"
move "%~dpn1_Cleaned.mpg" "%~dpn1.mpg"
REM RenameRecordings %1 > renamerecordings.log

If I rename it, how do I pass it to other commands for further processing?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,000
Threads: 956
Joined: May 2006
#20
2016-10-01, 12:04 AM
Normally I would run it after VideoRedo, bui it appears you create mpg (for some unknown reason) so you pretty much are leaving NextPVR for playback.

iGL will return the filename when it changes it, I wrote an example of how to use that in a batch file here and so I'd probably run it first in your case.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 141,934 2024-01-29, 01:07 AM
Last Post: stoenjes44
  Add Series/Episode Info to Recording Metadata andrewj 2 1,093 2023-11-20, 03:42 PM
Last Post: sub
  npvr is not responding johndutcher 3 1,506 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,891 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,296 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,718 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,725 2021-01-04, 02:58 AM
Last Post: tesla1886
  EPG XMLTV problem DBHall 8 3,816 2021-01-01, 12:34 PM
Last Post: Graham
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,093 2020-12-27, 02:27 AM
Last Post: sub
  xmltv and EPG channel icons HaTaX 5 4,128 2020-10-28, 04:25 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