NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 34 35 36 37 38 … 93 Next »
XMLTV Questions

 
  • 0 Vote(s) - 0 Average
XMLTV Questions
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#1
2007-06-29, 02:53 AM
I'm working on my app for taking the Yahoo Go TV listings and converting them to XMLTV and have run into a few questions.

For the channels part, which is the way it should be done:
Code:
<channel id="0047"><display-name lang="en">FX</display-name></channel>
<channel id="0048"><display-name lang="en">SPIKE</display-name></channel>
<channel id="0049"><display-name lang="en">BET</display-name></channel>
<channel id="0050"><display-name lang="en">MTV</display-name></channel>
or
Code:
<channel id="0047"><display-name lang="en">FX Networks Inc.</display-name></channel>
<channel id="0048"><display-name lang="en">Spike TV</display-name></channel>
<channel id="0049"><display-name lang="en">Black Entertainment Television</display-name></channel>
<channel id="0050"><display-name lang="en">Music Television (Pacific)</display-name></channel>

or something else?

Also, for programs?
  1. Do the programs have to be in order by time, channels, any?
  2. Are there any fields GB-PVR doesn't use?

I'm sure I'll have more as I do more work.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2007-06-29, 03:00 AM
Use the channel names you'd prefer to see in the app. I suspect that would be the former of those two examples.

Quote:Do the programs have to be in order by time, channels, any?
No, the programmes dont need to be listed in any order.

Quote:Are there any fields GB-PVR doesn't use?
I cant remember the exact names, but it doesnt use the actor fields and the only that says a show is in stereo. These are optional fields that arent used in many xmltv files I've seen.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#3
2007-06-29, 05:01 AM
Any idea where I would put original air date (which I know is useful for some programs) or genre?
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#4
2007-06-29, 05:24 AM
-Oz- Wrote:Any idea where I would put original air date (which I know is useful for some programs) or genre?
Save it in a <date> tag:

<programme start="20070623010000 +0000" stop="20070623020000 +0000" channel="I10035.labs.zap2it.com" clumpidx="0/1">
<title lang="en">CSI: Miami</title>
<sub-title lang="en">Free Fall</sub-title>
<desc lang="en">The CSI team must find whoever is trying to kill a couple, recently released from jail, whose misdeeds turned them into media darlings.</desc>
<date>20060410</date>
<category lang="en">Crime drama</category>
<category lang="en">Action</category>
<category lang="en">Suspense</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">EP524061.0092</episode-num>
<episode-num system="onscreen">420</episode-num>
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#5
2007-06-29, 05:52 AM
so whulston, how does the program know what channel exists if there isn't a channel number but rather some random code like the url thing above?
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2007-06-29, 05:59 AM
-Oz- Wrote:Any idea where I would put original air date (which I know is useful for some programs) or genre?
I dont think I've ever seen an original air date in an xmltv file. GB-PVR will just ignore it if you put it in.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#7
2007-06-29, 06:05 AM
-Oz- Wrote:so whulston, how does the program know what channel exists if there isn't a channel number but rather some random code like the url thing above?
<programme start="20070623010000 +0000" stop="20070623020000 +0000" channel="I10035.labs.zap2it.com" clumpidx="0/1">

And that corresponds to:

<channel id="I10035"><display-name>158 AETV</display-name></channel>

Notice that the "display-name" actually contains the channel number and name. The "channel id" is the very first field in the yahoo listings text file.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2007-06-29, 06:08 AM
sub Wrote:I dont think I've ever seen an original air date in an xmltv file. GB-PVR will just ignore it if you put it in.
Good to know. Which field is used to determine whether the program is a repeat or not?
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#9
2007-06-29, 06:17 AM
Hi -OZ-
The US and Canada xmltv downloads have a large number of extra features that arent available in most other countries and aren’t used -by default- in GBPVR. Original Air Date is part of the download and listed in the <date> field.

If you want to look at a full xmltv download you can install xmlt or TVGuideSupercharger (I-xmltv) in my sig. I-xmltv will walk you through the xmltv download and setup, and save the original download as xmltv.xml so you can look at it. We have many extra features in the states that GBPVR does not use by default, but utilities like I-xmltv, ZapTools and EPG Extra are designed to add the extra info into the guide.

Hope this helps.

Jim

These are the major documents describing the format and fields available as downloaded by Yahoo Go TV and xmltv.

XMLTV definition
http://membled.com/work/apps/xmltv/xmltv.dtd.pdf

Data Dirrect definition
http://docs.tms.tribune.com/tech/tmsdata...nition.pdf



Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-url="http://labs.zap2it.com/" source-info-name="TMS Data Direct Service" generator-info-name="XMLTV" generator-info-url="http://www.xmltv.org/">

  <channel id="I10035.labs.zap2it.com">
    <display-name>41 AETV</display-name>
    <display-name>41 AETV IA65901:-</display-name>
    <display-name>41</display-name>
    <display-name>AETV</display-name>
    <display-name>A &amp; E Network</display-name>
    <display-name>Satellite</display-name>
  </channel>

  <programme start="20070627013000 UTC" stop="20070627020000 UTC" channel="I10035.labs.zap2it.com">
    <title lang="en">Dog the Bounty Hunter</title>
    <sub-title lang="en">The Last Call</sub-title>
    <desc lang="en">Fugitives surrender at Dog's office.</desc>
    [B][SIZE="4"]<date>20070626</date>[/SIZE][/B]
    <category lang="en">Reality</category>
    <category lang="en">Crime</category>
    <category lang="en">Law</category>
    <category lang="en">Series</category>
    <episode-num system="dd_progid">EP675082.0099</episode-num>
    <episode-num system="onscreen">85</episode-num>
    <subtitles type="teletext" />
    <rating system="VCHIP">
      <value>TV-PG</value>
    </rating>
  </programme>

</tv>
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#10
2007-06-29, 06:17 AM (This post was last modified: 2007-06-29, 06:22 AM by Jim_.)
whurlston Wrote:Good to know. Which field is used to determine whether the program is a repeat or not?

The original air date field. Wink
There’s also a repeat field (or something like it), but the oad was more reliable back when I set up my utility.

Jim
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,350 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 6,598 2018-07-18, 04:32 PM
Last Post: sub
  Couple of questions about hacking npvr.db3 drmargarit 6 4,208 2014-09-08, 02:22 AM
Last Post: sub
  Questions about Scraping from thetvdb and themoviedb craigrs84 0 2,492 2014-08-19, 05:30 PM
Last Post: craigrs84
  Merge xmltv data with xslt Graham 4 3,410 2014-01-02, 12:45 PM
Last Post: Graham
  Random API questions whurlston 7 3,253 2012-08-09, 02:21 PM
Last Post: whurlston
  XMLTV data mvallevand 6 2,586 2011-04-16, 03:08 AM
Last Post: sub
  NPVR database questions mvallevand 25 9,776 2011-01-06, 12:58 AM
Last Post: jksmurf
  Positioning of elements in skins (...and some other questions) ShiningDragon 13 4,254 2010-07-22, 06:42 PM
Last Post: ShiningDragon
  Free XMLTV EPG scraper dneprrider 214 99,342 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