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 … 53 54 55 56 57 … 102 Next »
XMLTV Episode Unique ID

 
  • 0 Vote(s) - 0 Average
XMLTV Episode Unique ID
bsperduto
Offline

Junior Member

US
Posts: 4
Threads: 2
Joined: Oct 2021
#1
2021-10-31, 02:46 PM
Hi,

I'm using XMLTV for my EPG source and I'm trying to determine why there is no unique id being generated for the EPG entries. In the end this is causing duplicate recordings of the same episode. Below is a sample of one episode, is there something else NPVR is looking to be in the XML to generate the unique id?

Thanks

Brian

Code:
<programme start="20211030120000 +0000" stop="20211030130000 +0000" channel="46 USA Network (East) (USA) [46]">
    <title lang="en">Chicago P.D.</title>
    <sub-title lang="en">Erin's Mom</sub-title>
    <desc lang="en">Erin's Mom
[imdb description: Bunny comes to Lindsay concerned about a suspicious repeat customer at her husband’s rental company. This lead brings Intelligence into a case which robbery-homicide has been working for months.] (n)</desc>
    <credits>
      <director>Mark Tinker</director>
      <director>Nick Gomez</director>
      <actor role="Hank Voight">Jason Beghe</actor>
      <actor role="Adam Ruzek">Patrick John Flueger</actor>
      <actor role="Kevin Atwater">LaRoyce Hawkins</actor>
      <actor role="Jay Halstead">Jesse Lee Soffer</actor>
      <actor role="Antonio Dawson">Jon Seda</actor>
      <actor role="Kim Burgess">Marina Squerciati</actor>
      <writer>Matt Olmstead</writer>
      <producer>Peter Jankowski</producer>
      <composer>Atli Örvarsson</composer>
    </credits>
    <date>2015</date>
    <category lang="en">Drama</category>
    <category lang="en">Suspense</category>
    <category lang="en">Action &amp; Adventure</category>
    <icon src="https://content.internetvideoarchive.com/content/hdphotos/13640/013640/013640_1152x648_637702698840968778.jpg"/>
    <episode-num system="onscreen">S2 E14</episode-num>
    <rating system="MPAA">
      <value>TV-14</value>
    </rating>
    <star-rating system="imdb">
      <value>5/5</value>
    </star-rating>
  </programme>
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,090
Threads: 957
Joined: May 2006
#2
2021-10-31, 02:54 PM
I don't know all that NextPVR might use but this is a good one <episode-num system="dd_progid">

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#3
2021-10-31, 04:24 PM
When it comes to xmltv sources, the UniqueID can come from a few different sources:

- some xmltv files have tag with <unique-identifier>
- some xmltv files have <episode-num system="dd_progid">
- some xmltv files have <episode-num system="ms_progid">
- some xmltv files have <episode-num system="tms">
- for movies, it's derived from title + year
- for shows with season+episode, it's derived from name + season + episode

That last one is the closest rule to matching your example, however it's expecting the standard <episode-num system="xmltv_ns">, not the <episode-num system="onscreen"> that your xml is using. Usually xmltv files with "onscreen" also have "xmltv_ns", but that appears to not be the case in this example. If you want to supply a sample xmltv file, I'll add support for parsing this.
bsperduto
Offline

Junior Member

US
Posts: 4
Threads: 2
Joined: Oct 2021
#4
2021-10-31, 04:48 PM (This post was last modified: 2021-10-31, 04:48 PM by bsperduto.)
Thanks, I'm going to see about adding the dd_progid element as well. Attached is an example using the onscreen format


Attached Files
.zip   guide_output.zip (Size: 1.57 MB / Downloads: 2)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#5
2021-10-31, 04:56 PM
The attached updated dll supports using "onscreen" season/episode for the deriving the unique id.


Attached Files
.zip   NShared.zip (Size: 349.9 KB / Downloads: 5)
bsperduto
Offline

Junior Member

US
Posts: 4
Threads: 2
Joined: Oct 2021
#6
2021-10-31, 05:24 PM
Thanks! that seems to fix it
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#7
2021-10-31, 06:46 PM
Great!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,090
Threads: 957
Joined: May 2006
#8
2021-11-13, 03:56 PM
(2021-10-31, 04:56 PM)sub Wrote: The attached updated dll supports using "onscreen" season/episode for the deriving the unique id.

Sub for this upcoming feature do you also handle  

<episode-num system="onscreen">s13.e07</episode-num>

(season 1) default)

<episode-num system="onscreen">e11</episode-num>

Examples here http://www.xmltv.co.uk/feeds


Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#9
2021-11-13, 05:35 PM
(2021-11-13, 03:56 PM)mvallevand Wrote:
(2021-10-31, 04:56 PM)sub Wrote: The attached updated dll supports using "onscreen" season/episode for the deriving the unique id.

Sub for this upcoming feature do you also handle  

<episode-num system="onscreen">s13.e07</episode-num>
I've made a small tweak so that it can handle this format for the next build

Quote:(season 1) default)

<episode-num system="onscreen">e11</episode-num>
I'm not going to do anything with this. Lack of a season number does not seem to mean it's season 1. For example:

Code:
<programme start="20211114183000 +0000" stop="20211114192000 +0000" channel="2405905763689cdcfa4e6acb969426c2">
    <title lang="en">Doctor Who: Flux</title>
    <desc lang="en">3/6. On a planet that shouldn't exist, in the aftermath of apocalypse, the Doctor, Dan, Yaz and Vinder face a battle to survive. Also in HD. [S,AD]</desc>
    <episode-num system="onscreen">e03</episode-num>
  </programme>
This is the current season of Doctor Who, so definitely not season 1.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,090
Threads: 957
Joined: May 2006
#10
2021-11-13, 05:48 PM (This post was last modified: 2021-11-13, 05:50 PM by mvallevand.)
The way the BBC does Doctor Who it is not seasons based. Doctor Who: Flux is the series name so it technically is season 1 and it will have it's own art. It is quite confusing if you look here https://en.wikipedia.org/wiki/List_of_Do...93present). but it is explained well "The series is entitled Flux, and includes six episodes that comprise one story."

Martin
« 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
  Help with PostProcessing.bat and Episode names TVHelp 3 422 2024-10-06, 10:16 PM
Last Post: mvallevand
  Problem XMLTV epg download Mastericarus333 3 1,448 2024-01-04, 12:47 PM
Last Post: Mastericarus333
  XMLTV puck64 2 1,386 2023-11-15, 09:13 AM
Last Post: puck64
  XMLTV EPG update not working LaChab 3 1,066 2023-10-24, 07:15 PM
Last Post: mvallevand
  webbgrab++ xmltv times ramjam 4 845 2023-08-11, 06:56 PM
Last Post: mvallevand
  Server URL for M3U and XMLTV Meldgaard 2 1,380 2023-08-05, 06:34 AM
Last Post: sub
  'Expose M3U/XMLTV to other apps' update three6zerocool 8 1,679 2023-02-03, 10:52 AM
Last Post: three6zerocool
  NextPVR - wrong parsing of episode data? chjohans 7 1,377 2022-10-10, 09:55 AM
Last Post: chjohans
  Scheduled Series Episode Stopped Recording Halfway Through. Chris4877 6 1,354 2022-09-12, 12:48 AM
Last Post: Chris4877
  XMLTV file not uploading to the EPG properly tilton 13 2,392 2022-07-10, 08:03 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