[mythtv-users] Question about xmltv and mythtv

Jean-Yves Avenard jyavenard at gmail.com
Tue Mar 25 18:25:02 UTC 2008


Hello

I'm currently working on a xmltv generator for use with the IPTV
channels provided by my ISP (TPG, Australia).

I think I'm pretty much done but I have some errors, which
unfortunately aren't easy to trace:

Background: my mythtv is configured with 2 sources: freetoair (DVB-T
channels) and iptv (TPG's IPTV)

#1- Error in my xmltv file
I run mythfilldatabase with the following command:
mythfilldatabase --sourceid 2 --file 2 tpg.xml

It gives me the following
2008-03-26 05:13:44.832 Bypassing grabbers, reading directly from file
2008-03-26 05:13:44.832 Using runtime prefix = /usr, libdir = /usr/lib64
2008-03-26 05:13:44.833 Empty LocalHostName.
2008-03-26 05:13:44.833 Using localhost value of htpc.avenard.org
2008-03-26 05:13:44.838 New DB connection, total: 1
2008-03-26 05:13:44.840 Connected to database 'mythconverg' at host: localhost
2008-03-26 05:13:44.841 Closing DB connection named 'DBManager0'
2008-03-26 05:13:44.841 Connected to database 'mythconverg' at host: localhost
2008-03-26 05:13:44.846 Error in 90:511: letter is expected
2008-03-26 05:13:44.846 Updating icons for sourceid: 2
2008-03-26 05:13:44.846 New DB connection, total: 2
2008-03-26 05:13:44.846 Connected to database 'mythconverg' at host: localhost
2008-03-26 05:13:44.847 No programs found in data.
2008-03-26 05:13:44.849 Adjusting program database end times.
2008-03-26 05:13:44.904     0 replacements made
2008-03-26 05:13:44.904 Marking generic episodes.
2008-03-26 05:13:44.937     Found 0
2008-03-26 05:13:44.937 Marking repeats.
2008-03-26 05:13:44.971     Found 0
2008-03-26 05:13:44.971 Unmarking new episode rebroadcast repeats.
2008-03-26 05:13:45.002     Found 0
2008-03-26 05:13:45.088 Marking episode first showings.
2008-03-26 05:13:45.943     Found 2517
2008-03-26 05:13:45.943 Marking episode last showings.
2008-03-26 05:13:46.800     Found 2517
2008-03-26 05:13:46.801

Now, this doesn't add any channels to my source, I guess the " Error
in 90:511: letter is expected" is the culprit.
What exactly is 90 and what is 511 ? I tried looking in the column /
line without success..
Could anyone shed the light on what the error could be ?

#2-Starting from a mysql backup , before I messed up with mythfilldatabase,
if I search for a program I know is currently running on the DVB-T
channel (in the freetoair source) if I do a search in mythweb, I see
the program once on the '2 - ABC' channel.

Now if I create a dummy xmltv file:
<tv generator-info-name="JY Avenard xmltv generator">
   <channel id="tpg:tv5">
      <display-name lang="fr">TV5</display-name>
   </channel>
</tv>

then run the command:
mythfilldatabase --sourceid 2 --file 2 tpg2.xml
Now if I search in mythweb the same program, it will show up twice:
once on the original '2 - ABC' channel, and the 2nd time on the
channel I described in the xmltv 'TV5'

Why is that? why would it mess up with my original EPG information?
Am I running mythfilldatabase incorrectly ?

Thank you in advance for any help
Jean-Yves


More information about the mythtv-users mailing list