NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 26 27 28 29 30 … 93 Next »
XmlTv Structure

 
  • 0 Vote(s) - 0 Average
XmlTv Structure
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2008-12-29, 10:36 PM
Apart from making it easier to read, do the channels have to be at the top of an xmltv file or can they be within the data....

Example:

Code:
<tv>
  <channel id="C4">
    <display-name>C4</display-name>
  </channel>
  <programme start="20080811122000" stop="20080811123000" channel="C4">
    <title>Te Karere</title>
    <desc>Te Karere</desc>
  </programme>
  <programme start="20080811123000" stop="20080811180000" channel="C4">
    <title>Beijing 2008: The Games Of The XXIX O...</title>
    <desc>Geoff Bryan presents LIVE action from Day Three in Beijing, featuring: Swimming Finals, Women&apos;s Basketball (NZ v Spain); and Equestrian Cross-country (Team and Individual). TIMES ARE SU...</desc>
  </programme>
  <channel id="TV ONE">
    <display-name>TV ONE</display-name>
  </channel>
  <programme start="20080811193000" stop="20080811223000" channel="TV ONE">
    <title>Beijing 2008: The Games Of The XXIX O...</title>
    <desc>Peter Williams presents continued coverage LIVE from Day Three in Beijing, featuring: Rowing; Men&apos;s Hockey (NZ v Korea); and Swimming heats. TIMES ARE SUBJECT TO CHANGE. Please visit tv...</desc>
  </programme>
  <programme start="20080812020000" stop="20080812021000" channel="TV ONE">
    <title>Te Karere</title>
    <desc>Te Karere</desc>
  </programme>
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2008-12-29, 10:42 PM
According to the DTD, they should be at the top of the list. I have an xmltv serialization class if you need it. It should be in the MCE2XmlTv source on the wiki. The serializer shouldn't care about the order when reading the file but it will write it in the proper order.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2008-12-29, 10:53 PM
Ok, got that sorted then.... Use Insert, not Append!!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,427 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 6,733 2018-07-18, 04:32 PM
Last Post: sub
  Merge xmltv data with xslt Graham 4 3,451 2014-01-02, 12:45 PM
Last Post: Graham
  XMLTV data mvallevand 6 2,619 2011-04-16, 03:08 AM
Last Post: sub
  Free XMLTV EPG scraper dneprrider 214 99,737 2010-03-29, 04:54 AM
Last Post: dljones8053
  Content Provider: How to publish XMLTV data? skoka123 6 3,407 2008-09-03, 05:48 AM
Last Post: skoka123
  XMLTV Questions -Oz- 34 10,433 2008-03-24, 01:19 AM
Last Post: zehd
  New XMLTV Enhancer and more... zehd 388 88,645 2008-03-05, 07:45 PM
Last Post: zehd
  I-xmltv updated for YahooXMLTv (adds a new show marker and more) Jim_ 78 24,663 2008-01-02, 10:33 AM
Last Post: tvshowman
  xmltv zap2it & msn scraper merge tvshowman 2 1,867 2007-12-12, 03:48 AM
Last Post: tvshowman

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

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

Linear Mode
Threaded Mode