PDA

View Full Version : Importing XMLTV into other PVRs



adrianlambert
13-11-2007, 11:14 PM
Muddling around, i'v got a terminal line to grab my chosen xmltv data. This data however is pronounced invalid when i try to import it into the tube (http://www.equinux.com/us/products/tubestick/latestfeatures.html). The XML I get by using the line;
curl http://user:pass@minnie.tuhs.org/tivo-bin/xmlguide.pl > /tv.xml is as follows:


<?xml version="1.0" encoding="ISO-8859-1"?>
<tv generator-info-name="Wktivoguide v5" generator-info-url="http://minnie.tuhs.org/tivo-bin/xmlguide.pl">
<programme start="20071112153000" stop="20071112163000" channel="ABC-WA">
<title>Road Agent</title>
<desc>Cowboys discover bandits trying to bankrupt ranchers by forcing them to pay tolls on certain trails.</desc>
<credits>
<director>Lesley Selander</director>
<actor>Tim Holt</actor>
<actor>Noreen Nash</actor>
<actor>Mauritz Hugo</actor>
<actor>Dorothy Patrick</actor>
</credits>
<category>Movie</category>
<category>Western</category>
<category>Movies</category>
<star-rating><value>6/10</value></star-rating>
<rating><value>G</value></rating>
<date>1952</date>
</programme>

and xmltv states the code should be:


<tv generator-info-name="tv_grab_uk">
<channel id="bbc2.bbc.co.uk">
<display-name lang="en">BBC2</display-name>
</channel>
<channel id="channel4.com">
<display-name lang="en">Channel 4</display-name>
</channel>

<programme channel="bbc2.bbc.co.uk" start="20010829000500 +0100">
<title lang="en">The Phil Silvers Show</title>
<desc lang="en">
Bilko claims he's had a close encounter with an alien in order
to be given some compassionate leave so he can visit an old
flame in New York.
</desc>
</programme>

<programme channel="channel4.com" start="20010829095500 +0100">
<title lang="en">King of the Hill</title>
<sub-title lang="en">Meet the Propaniacs</sub-title>
<desc lang="en">
Bobby tours with a comedy troupe who specialize in
propane-related mirth.
</desc>
<credits>
<actor>Mike Judge</actor>
<actor>Lane Smith</actor>
</credits>
<category lang="en">animation</category>
</programme>
</tv>

could someone let me know if my XMLTV code is valid?