[mythtv-users] Problem with reading xml file (one works, another leaves empty mythweb listings)

Robert Rozman robert.rozman at comutel.si
Thu Sep 25 06:48:43 UTC 2008


Hi,

I'm currently using two ways to get xmltv guides into mythtv (I'm using 
0.20.2 version under LMCE - Kubuntu 710):
1. download somekind of prepackaged xmltv - it works, guide is shown in 
mythweb&mythtv ok, but has only 6 channels - that is not enough
excerpt :
------------------------------------------------------------------------------------------
<tv generator-info-name="VidmarNetXMLTV">
  <channel id="SLO1">
    <display-name>SLO 1</display-name>
    <icon src="images/slo1.png" />
    <url>http://www.rtvslo.si</url>
  </channel>
  <channel id="SLO2">
    <display-name>SLO 2</display-name>
    <icon src="images/slo2.png" />
    <url>http://www.rtvslo.si</url>
  </channel>
....
  <programme channel="SLO1" start="20080923061000 +0200">
    <title lang="sl">KULTURA</title>
    <category>other</category>
  </programme>
  <programme channel="SLO1" start="20080923061500 +0200">
    <title lang="sl">ODMEVI</title>
    <category>info</category>
    <url>http://www.rtvslo.si/odmevi/</url>
  </programme>
...
------------------------------------------------------------------------------------------

2. using tv_grab_hr I get more channels and more useful info about programs, 
but mythweb&mythtv show empty TV Guide or Listings.
excerpt from this file :
------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='iso-8859-1'?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv>
  <channel id="bbcprime.tv.gonix.net">
    <display-name lang="hr">BBC Prime</display-name>

    <icon 
src="http://www.gonix.net/channellogos/bbcprime.tv.gonix.net.png"/>
  </channel>
  <channel id="bbcworld.tv.gonix.net">
    <display-name lang="hr">BBC World Europe</display-name>

    <icon 
src="http://www.gonix.net/channellogos/bbcworld.tv.gonix.net.png"/>
  </channel>
....

  <programme start="20080921020000 +0200" stop="20080921033000 +0200" 
channel="bbcprime.tv.gonix.net">
    <title lang="en">JUDGE JOHN DEED</title>
    <sub-title lang="en">Conspiracy</sub-title>
    <desc lang="en">Good-looking, fit and fifty-something, Judge John Deed 
is not your average High Court Judge. His individual approach all too often 
flies in the face of convention, as he determinedly avoids the 
traditionalism the system tries to force upon him. Jo prosecutes an MP 
accused of attempted murder, who has been investigating the arms industry; 
and Deed's therapy sessions get a little too hands-on.</desc>
    <category lang="en">series</category>
    <episode-num system="xmltv_ns">. 2 .</episode-num>
    <episode-num system="onscreen">epizoda 3</episode-num>
    <rating system="MPAA">
      <value>G</value>
    </rating>
  </programme>
  <programme start="20080921033000 +0200" stop="20080921043000 +0200" 
channel="bbcprime.tv.gonix.net">
    <title lang="en">BALLYKISSANGEL</title>
    <sub-title lang="en">Brendan's Crossing</sub-title>
    <desc lang="en">Highly acclaimed drama series set in a quirky village in 
the heart of Ireland. When the headmaster's job becomes available, Brendan 
feels it's time to improve himself.</desc>
    <category lang="en">series</category>
    <episode-num system="xmltv_ns">. 6 .</episode-num>
    <episode-num system="onscreen">epizoda 7</episode-num>
    <rating system="MPAA">
      <value>G</value>
    </rating>
  </programme>
------------------------------------------------------------------------------------------



what is wrong with nr.2 ? Format error, some xml data field that confuses 
mythfilldatabase ?

Thanks in advance,

regards,

Rob.



More information about the mythtv-users mailing list