NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 38 39 40 41 42 … 93 Next »
Importing XMLTV file

 
  • 0 Vote(s) - 0 Average
Importing XMLTV file
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#11
2007-11-18, 06:58 AM
bgowland Wrote:zehd - I've just looked again at the examples from your xmltv file in the first post. Which grabber are you using? It's badly broken as far as I can tell.

The xml may well be valid but some of it doesn't make sense from an xmltv point of view. It's one of those situations - all xmltv is xml but not all xml is xmltv. Wink

Cheers,
Brian

I'm looking at making a validator. Part of a project I'm doing with -oz-. Of course that means digging into and understanding what a valid xmltv xml file should be...

Just on what you see, what's most obvious? I'm using D1XMLTVGrabber.exe which is a free grabber for Australia.

(I'm also working with another couple of grabbers, but this one seems to be getting better data)
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#12
2007-11-18, 06:23 PM
zehd Wrote:Just on what you see, what's most obvious?
It just kind of looks wrong in the way that it's putting in the partial (blank) entries for things.

This for instance...
Code:
<sub-title lang="en" />
...either shouldn't be there at all or should be shown as...
Code:
<sub-title lang="en"></sub-title>
...to my mind. Also the blank value for rating just looks messy.

I have to admit, I've only seen the xmltv output of a few grabbers but they all seem to be tidier than this.

Cheers,
Brian
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#13
2007-11-18, 07:20 PM
bgowland Wrote:It just kind of looks wrong in the way that it's putting in the partial (blank) entries for things.

This for instance...
Code:
<sub-title lang="en" />
...either shouldn't be there at all or should be shown as...
Code:
<sub-title lang="en"></sub-title>
...to my mind. Also the blank value for rating just looks messy.
I believe this is the default XML way to display empty nodes. But I don't know if it's the GBPVR-xmltv way.

Best regards,
Sheik Yerbouti
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#14
2007-11-18, 07:23 PM
Both are valid xml. Neither of these have been common in the xmltv files that I've seen in the last few years though. Infact, this is a first example I've seen that includes the tags when the data is not available. The reason I suspect it's usually been done this way is because there used to be samples on the xmltv.org home page that showed exactly this - shows in the same file with different amounts of data available, and only the tags included for the known data.

Its not worth worrying about though, the patch I posted on the last page will cope with it.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#15
2007-11-19, 12:26 AM
sub Wrote:zehd, can you try the attached patch.

It doesnt like these tags being present but empty in this shortened form. Normally the tags just arent included in the file if the data isnt present. It doesnt mind them being there, but empty, as long as it was in the long form shown in bgowlands post above.

That did it.. thanks
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,534 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 7,020 2018-07-18, 04:32 PM
Last Post: sub
  How Does "Use S01E01 File naming format if possible" work puck64 7 5,475 2015-08-25, 10:21 AM
Last Post: puck64
  Merge xmltv data with xslt Graham 4 3,578 2014-01-02, 12:45 PM
Last Post: Graham
  NEWA - using buffer file produced by /public/VLCService?Channel= bgowland 5 2,916 2014-01-02, 06:36 AM
Last Post: bgowland
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,817 2013-10-08, 02:25 AM
Last Post: sub
  Accessing music file metadata in C# bgowland 6 3,415 2013-01-26, 05:14 AM
Last Post: bgowland
  XMLTV data mvallevand 6 2,684 2011-04-16, 03:08 AM
Last Post: sub
  File browsing - a big ask imilne 3 2,074 2010-11-04, 09:03 PM
Last Post: imilne
  Free XMLTV EPG scraper dneprrider 214 100,958 2010-03-29, 04:54 AM
Last Post: dljones8053

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

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

Linear Mode
Threaded Mode