Page 1 of 1

Problem with importing XMl file

Posted: Sat Aug 11, 2007 5:14 pm
by kantjer
Today i added a few channels to the RT grabber and now XMLTV_GUI is combining one of these channel listings with a Dutch channels I import with the import Grabber.
Both channels originally have the same channel_ID ("90") but as fart as I can see the channel_id from the imported one is renamed when imported.

I also tried to rename the channel_id of the to be imported xml file manually but that didn't solve the problem.

This is how the combined xml generated by XMLTV_GUI looks like (sorted by channel_id)

Code: Select all

 <programme start="20070811073000 +0200" stop="20070811080000 +0200" channel="bbcworld">
    <title lang="en">Middle East Business Report</title>
    <desc lang="en">A window on the trade, business and economics of the Middle East.</desc>
    <category lang="en">Current affairs</category>
    <length units="minutes">30</length>
  </programme>
  <programme start="20070811080000 +0200" stop="20070811083000 +0200" channel="bbcworld">
    <title lang="en">BBC News; Weather</title>
    <desc lang="en">News reports and the latest weather forecast.</desc>
    <category lang="en">News and Current Affairs</category>
    <length units="minutes">30</length>
  </programme>
  <programme start="20070811080000 +0200" stop="20070811130000 +0200" channel="bvn">
    <title>Herhaling uitzending van gisteren</title>
    <category>Overige</category>
  </programme>
  <programme start="20070811083000 +0200" stop="20070811090000 +0200" channel="bbcworld">
    <title lang="en">Equestrian World</title>
    <desc lang="en">More than a competition, FEI Equestrian World concentrates on the spirit of the sport and the lifestyle surrounding it. The series goes behind the scenes to explore all the news and latest hot topics that are at the centre of the sport.</desc>
    <category lang="en">Sport</category>
    <length units="minutes">30</length>
  </programme>
  <programme start="20070811090000 +0200" stop="20070811093000 +0200" channel="bbcworld">
.
.
I'm running out of ideas how to solve this. Hopefully there is anybody out there who can shed some light on this mystery.

Thanks,
Bauke

Re: Problem with importing XMl file

Posted: Sat Aug 11, 2007 5:18 pm
by kantjer
kantjer wrote:Today i added a few channels to the RT grabber and now XMLTV_GUI is combining one of these channel listings with a Dutch channels I import with the import Grabber.
Both channels originally have the same channel_ID ("90") but as fart as I can see the channel_id from the imported one is renamed when imported.

I also tried to manually rename the channel_id of the to be imported xml file before importing but that didn't solve the problem.

This is how the combined xml generated by XMLTV_GUI looks like (sorted by channel_id)

Code: Select all

 <programme start="20070811073000 +0200" stop="20070811080000 +0200" channel="bbcworld">
    <title lang="en">Middle East Business Report</title>
    <desc lang="en">A window on the trade, business and economics of the Middle East.</desc>
    <category lang="en">Current affairs</category>
    <length units="minutes">30</length>
  </programme>
  <programme start="20070811080000 +0200" stop="20070811083000 +0200" channel="bbcworld">
    <title lang="en">BBC News; Weather</title>
    <desc lang="en">News reports and the latest weather forecast.</desc>
    <category lang="en">News and Current Affairs</category>
    <length units="minutes">30</length>
  </programme>
  <programme start="20070811080000 +0200" stop="20070811130000 +0200" channel="bvn">
    <title>Herhaling uitzending van gisteren</title>
    <category>Overige</category>
  </programme>
  <programme start="20070811083000 +0200" stop="20070811090000 +0200" channel="bbcworld">
    <title lang="en">Equestrian World</title>
    <desc lang="en">More than a competition, FEI Equestrian World concentrates on the spirit of the sport and the lifestyle surrounding it. The series goes behind the scenes to explore all the news and latest hot topics that are at the centre of the sport.</desc>
    <category lang="en">Sport</category>
    <length units="minutes">30</length>
  </programme>
  <programme start="20070811090000 +0200" stop="20070811093000 +0200" channel="bbcworld">
.
.
I'm running out of ideas how to solve this. Hopefully there is anybody out there who can shed some light on this mystery.

Thanks,
Bauke

Posted: Sun Aug 12, 2007 3:12 pm
by alanbirtles
so the data is correct but the order is wrong?

Posted: Sun Aug 12, 2007 4:51 pm
by kantjer
alanbirtles wrote:so the data is correct but the order is wrong?
It looks like that, a quick word count shows there is no data missing.
I use the output to generate files (mei and tgd) for my Topfield sat tuner, but because of the wrong sort order the Topfield can't handle the data for the 2 wrongly sorted channels so they are missing in the EPG on the Topfield.

For your info I'm using v3.07 for windows.

Hope this clarifies things.
Bauke