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 … 128 129 130 131 132 … 433 Next »
Make XMLTV file using Schedules Direct

Make XMLTV file using Schedules Direct
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#11
2016-06-28, 11:37 AM
martint123 Wrote:I just had a look at mine and I have a populated EPG for channel 5, but the mapping shows it as 105 - BBCR5L which to me means radio 5 live. but this produces a CH5 listing.
There is a mapping available of 105 - CH5 but this produces no EPG listing for it says something like pending.

SoupSatchel Wrote:Does C5HD have a listing?

Martin --- You must be using a different Schedules Direct to the rest of us. My 105 is Channel 5 HD with <channel id="I105.50717.schedulesdirect.org"> and my BBCR5L is channel 705 with <channel id="I705.24438.schedulesdirect.org">

Mr Satchel --- Nope. But Schedules Direct have a team on the case ... http://forums.schedulesdirect.org/viewto...=16&t=2812

I have told NextPVR to use the DVB EPG until SD is mended.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#12
2016-06-28, 11:41 AM
SoupSatchel Wrote:Does C5HD have a listing?

Nope - CH5 and CH5+1 are both "To be announced" as is BT sport 1 . I'm sure they were ok not that long ago.
this is using SD Bskyb england () (gbr-0001172 - default).
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#13
2016-06-28, 12:01 PM (This post was last modified: 2016-06-28, 12:26 PM by Graham.)
And finally ... Please may I have a round of applause for pBS and his miraculous xslt script thing.

The Birtles xmltv grabber had an option to insert the series and episode numbers at the beginning of the sub-title. A quick edit in the xslt thing and I have my series and episode numbers back where they should be. Thanks to pBS.

http://forums.nextpvr.com/showthread.php...post434477
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#14
2016-06-28, 12:17 PM
One more final thing ...

I have been using WebGrab++ and an xslt script to merge data scraped from the Radio Times website with the XMLTV file. For example, Schedules Direct gives me

Quote:<title lang="en">The Twilight Saga: Breaking Dawn Part 2</title>
<desc lang="en">Bella and Edward gather werewolves, vampires and other allies to help them protect their daughter from the Volturi.</desc>
Merged data from SD and Radio Times gives me

Quote:The final film of any series should be absolutely spot on, and here director Bill Condon pulls off an amazing visual coup that will satisfy the many millions of Twihards and possibly convert a few others. Following on from the fourth film of the series, Bella and Edward are now Mr and Mrs Cullen, and have a half human/half vampire daughter - the oddly named Renesmee. When the Volturi - ancient warlike vampires who act as judges of the vampire world - come to believe that Renesmee is an immortal child (which is forbidden by their laws), they set out to kill the entire Cullen family. Meanwhile, vampires from all over the world risk their lives to act as witnesses to Renesmee's true nature. Despite stupid CGI wolves (and baby Renesmee for that matter), dodgy red contact lenses and terrible blotchy white greasepaint, this glossy finale remains true to the world of Twilight and the eternal love story at its heart. ----- Vampire couple Edward and Bella enjoy a happy married life with their new daughter, but the leaders of the undead race believe the child is a threat to their entire species. The protective parents gather their allies to defend the girl in a final battle with their enemies. Conclusion of the romantic fantasy series, with Kristen Stewart, Robert Pattinson, Taylor Lautner and Michael Sheen ---- Bella and Edward gather werewolves, vampires and other allies to help them protect their daughter from the Volturi.

The website scraping and merge is a complete bodge but I'll share the WebGrab and xslt files if anyone is interested.
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#15
2016-06-28, 02:23 PM
Like I said, XMLTV throws away a lot of information. Take a look at the description1000 field:

Code:
{
    "programID": "MV003820570000",
    "titles": [
        {
            "title120": "The Twilight Saga: Breaking Dawn Part 2"
        }
    ],
    "descriptions": {
        "description100": [
            {
                "descriptionLanguage": "en",
                "description": "The Cullens seek help from allies all over the world to protect Renesmee from the Volturi."
            }
        ],
        "description1000": [
            {
                "descriptionLanguage": "en",
                "description": "Bella (Kristen Stewart) awakes -- as a vampire -- from her life-threatening labor, and her newborn daughter, Renesmee, proves to be very special indeed. While Bella adjusts to her new state of being, Renesmee experiences accelerated growth. When the Volturi learn of the baby's existence, they declare her to be an abomination and sentence the Cullens to death. Bella, Edward (Robert Pattinson) and the rest of the clan seek help from allies around the world to protect their family."
            }
        ]
    },
    "genres": [
        "Romance",
        "Thriller"
    ],
    "officialURL": "http://www.breakingdawn-themovie.com/",
    "keyWords": {
        "Mood": [
            "Striking",
            "Melodramatic"
        ],
        "Time Period": [
            "2010s"
        ],
        "Theme": [
            "Metamorphosis",
            "Pursuit",
            "Forbidden love"
        ],
        "Character": [
            "Vampire",
            "Mother",
            "Daughter",
            "Werewolf",
            "Family member",
            "Villain"
        ],
        "Setting": [
            "Small town",
            "Washington state",
            "Household",
            "Outdoors"
        ],
        "Subject": [
            "Childbirth",
            "Vampires",
            "Supernatural",
            "Unusual romance"
        ],
        "General": [
            "Teen"
        ]
    },
    "contentRating": [
        {
            "body": "British Board of Film Classification",
            "code": "12A"
        },
        {
            "body": "Alberta's Film Classification Board",
            "code": "PG"
        },
        {
            "body": "B.C. Film Classification Office",
            "code": "14A"
        },
        {
            "body": "Manitoba Film Classification Board",
            "code": "14A"
        },
        {
            "body": "Maritime Film Classification Board",
            "code": "14"
        },
        {
            "body": "Ontario Film Review Board",
            "code": "PG"
        },
        {
            "body": "Saskatchewan Film and Video Classification Board",
            "code": "14A"
        },
        {
            "body": "Departamento de Justiça, Classificação, Títulos e Qualificação",
            "code": "12"
        },
        {
            "body": "Freiwillige Selbstkontrolle der Filmwirtschaft",
            "code": "12"
        },
        {
            "body": "Mediakasvatus- ja kuvaohjelmayksikkö",
            "code": "K12"
        },
        {
            "body": "Motion Picture Association of America",
            "code": "PG-13"
        },
        {
            "body": "Medietilsynet",
            "code": "11 Ã¥r"
        }
    ],
    "contentAdvisory": [
        "Adult Situations",
        "Brief Nudity",
        "Violence"
    ],
    "movie": {
        "year": "2012",
        "duration": 6900,
        "qualityRating": [
            {
                "ratingsBody": "Gracenote",
                "rating": "2.5",
                "minRating": "1",
                "maxRating": "4",
                "increment": ".5"
            }
        ]
    },
    "cast": [
        {
            "billingOrder": "01",
            "role": "Actor",
            "nameId": "253166",
            "personId": "249613",
            "name": "Kristen Stewart",
            "characterName": "Bella"
        },
        {
            "billingOrder": "02",
            "role": "Actor",
            "nameId": "499488",
            "personId": "487714",
            "name": "Robert Pattinson",
            "characterName": "Edward"
        },
        {
            "billingOrder": "03",
            "role": "Actor",
            "nameId": "306352",
            "personId": "302376",
            "name": "Taylor Lautner",
            "characterName": "Jacob"
        },
        {
            "billingOrder": "04",
            "role": "Actor",
            "nameId": "150541",
            "personId": "150324",
            "name": "Billy Burke",
            "characterName": "Charlie Swan"
        },
        {
            "billingOrder": "05",
            "role": "Actor",
            "nameId": "72991",
            "personId": "72991",
            "name": "Peter Facinelli",
            "characterName": "Dr. Carlisle Cullen"
        },
        {
            "billingOrder": "06",
            "role": "Actor",
            "nameId": "291212",
            "personId": "287438",
            "name": "Elizabeth Reaser",
            "characterName": "Esme Cullen"
        },
        {
            "billingOrder": "07",
            "role": "Actor",
            "nameId": "312771",
            "personId": "308550",
            "name": "Kellan Lutz",
            "characterName": "Emmett Cullen"
        },
        {
            "billingOrder": "08",
            "role": "Actor",
            "nameId": "289663",
            "personId": "285904",
            "name": "Nikki Reed",
            "characterName": "Rosalie Hale"
        },
        {
            "billingOrder": "09",
            "role": "Actor",
            "nameId": "495382",
            "personId": "485786",
            "name": "Jackson Rathbone",
            "characterName": "Jasper Hale"
        },
        {
            "billingOrder": "10",
            "role": "Actor",
            "nameId": "528291",
            "personId": "512828",
            "name": "Ashley Greene",
            "characterName": "Alice Cullen"
        },
        {
            "billingOrder": "11",
            "role": "Actor",
            "nameId": "153491",
            "personId": "153339",
            "name": "Michael Sheen",
            "characterName": "Aro"
        },
    "crew": [
        {
            "billingOrder": "01",
            "role": "Director",
            "nameId": "81154",
            "personId": "81154",
            "name": "Bill Condon"
        },
        {
            "billingOrder": "02",
            "role": "Screenwriter",
            "nameId": "258086",
            "personId": "254526",
            "name": "Melissa Rosenberg"
        },
        {
            "billingOrder": "03",
            "role": "Producer",
            "nameId": "316337",
            "personId": "310784",
            "name": "Wyck Godfrey"
        },
    "entityType": "Movie",
    "showType": "Feature Film",
    "recommendations": [
        {
            "programID": "MV002324580000",
            "title120": "Underworld: Rise of the Lycans"
        },
        {
            "programID": "MV001070230000",
            "title120": "The Forsaken"
        },
        {
            "programID": "MV002699270000",
            "title120": "Harry Potter and the Deathly Hallows: Part 1"
        }
    ],
    "hasImageArtwork": true,
    "md5": "7fFiISpJUTp0XTTEFo8R9A"
}
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#16
2016-06-28, 02:25 PM
martint123 Wrote:Nope - CH5 and CH5+1 are both "To be announced" as is BT sport 1 . I'm sure they were ok not that long ago.
this is using SD Bskyb england () (gbr-0001172 - default).

The schedules for Channel 5 have been updated, so things should be resolved. Please open a ticket at the Schedules Direct web site (not the forum) if you're still having issues with Channel 5.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#17
2016-06-28, 04:13 PM
rkulagow Wrote:The schedules for Channel 5 have been updated, so things should be resolved. Please open a ticket at the Schedules Direct web site (not the forum) if you're still having issues with Channel 5.

Thank you.

It's all good now.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#18
2016-06-28, 04:30 PM
rkulagow Wrote:Like I said, XMLTV throws away a lot of information. Take a look at the description1000 field:

I use XMLTV so that I can manipulate the data before it is loaded into NextPVR. For example, I copy the cast information into the Desc field so that the cast information is visible inside NextPVR (when using the TV Listings plugin).

Another difference between the data that I get via XMLTV and the data shown in your example is that the cast information in your example is character name and actor name. The data that I get via XMLTV is only the actor name.

I am using the JSON option in the grabber. I haven't specified a lineup online at the SD website. I specify the lineup from within the grabber software. Are the differences in the data between obtaining the data via XMLTV and via the function built-in to NextPVR due to something at your end? Is there some reason that you have to provide different data? Thanks.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#19
2016-06-28, 04:35 PM
Graham Wrote:... edit in the xslt thing and I have my series and episode numbers back where they should be. Thanks to pBS.

I have now installed 3.7.7 and I notice that NextPVR displays the series and episode info alongside the sub-title field. Thank you.

<hint> But, some of us have to use the TV Listings plugin to get a scrollable Desc field ... </hint>
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#20
2016-06-28, 04:49 PM
I don't run NextPVR or TVListings, so I'm not sure what the hint is for. I just wanted you to see that the native JSON format we supply has more data that what you were seeing with XML, because XML doesn't have a DTD to support all the fields that we have, and if you can use the native JSON grabber in NextPVR then that's better than an XML translation layer.

But if you're working now, great.
« 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 142,968 2024-01-29, 01:07 AM
Last Post: stoenjes44
  incorrect frequency in adelaide .ini file spin35 5 3,125 2023-02-01, 05:40 PM
Last Post: sub
  ts file shows length too long? SuttonWillow 2 2,001 2021-03-15, 01:56 PM
Last Post: mvallevand
  EPG XMLTV problem DBHall 8 3,900 2021-01-01, 12:34 PM
Last Post: Graham
  EPG Schedules Direct jwalbrook 6 4,209 2020-12-07, 07:43 PM
Last Post: mvallevand
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,464 2020-10-29, 09:40 PM
Last Post: mvallevand
  xmltv and EPG channel icons HaTaX 5 4,271 2020-10-28, 04:25 AM
Last Post: sub
  ts file shows length too long SamM 4 2,401 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  How to delete a Schedules Direct Lineup from Version 4? mwkurt 2 1,737 2020-07-19, 02:32 PM
Last Post: mwkurt
  EPG displaying small subset of xmltv file. Esteban 9 3,113 2020-07-18, 10:07 PM
Last Post: Esteban

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

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

Linear Mode
Threaded Mode