[mythtv-users] tv_grab_au

Brian May bam at snoopy.apana.org.au
Sun Jul 16 01:30:39 UTC 2006


>>>>> "Phill" == Phill Edwards <philledwards at gmail.com> writes:

    Phill> Only source which is legit is tvguide.org.au

I tried this grabber today (Debian/etch):

mythtv:/usr/share/xmltv/tv_grab_au$ ./tv_grab_au_reg -v -o /tmp/tvguide.xml 
Outputting to file:  /tmp/tvguide.xml
Traceback (most recent call last):
  File "./tv_grab_au_reg", line 571, in ?
    main()
  File "./tv_grab_au_reg", line 563, in main
    grab()
  File "./tv_grab_au_reg", line 436, in grab
    grabTVGuideDayChannel(day, channel)
  File "./tv_grab_au_reg", line 323, in grabTVGuideDayChannel
    outputDayChannel(f, channel)
  File "./tv_grab_au_reg", line 308, in outputDayChannel
    for (event,node) in events:
  File "/usr/lib/python2.3/xml/dom/pulldom.py", line 232, in next
    rc = self.getEvent()
  File "/usr/lib/python2.3/xml/dom/pulldom.py", line 265, in getEvent
    self.parser.feed(buf)
  File "/usr/lib/python2.3/xml/sax/expatreader.py", line 211, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python2.3/xml/sax/handler.py", line 38, in fatalError
    raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: syntax error

Any ideas what I am doing wrong? The config file looks OK to me (after
I removed the invalid comment - it contained "--" in one spot which is
illegal in an XML comment):

--- cut ---
mythtv:/usr/share/xmltv/tv_grab_au$ xmllint /home/mythtv/.xmltv/tv_grab_au_reg.xml
<?xml version="1.0"?>
<config>

  <login provider="tvguide" user="$censored$" password="$censored$"/>

    <channel display="ABC" tvguide="ABC-Vic" local="abcvic.free.au"/>
    <channel display="ABC2" tvguide="ABC2" local="abc2.abc.gov.au"/>
    <channel display="Nine" tvguide="Nine-Mel" local="channelninemelbourne.free.au"/>
    <channel display="SBS" tvguide="SBS-Vic" local="sbsmelbourne.free.au"/>
    <channel display="SBS News" tvguide="SBS-NEWS" local="news.sbs.com.au"/>
    <channel display="Seven" tvguide="Seven-Mel" local="channelsevenmelbourne.free.au"/>
    <channel display="Ten" tvguide="Ten-Vic" local="networktenmelbourne.free.au"/>

</config>

--- cut --- 
-- 
Brian May <bam at snoopy.apana.org.au>


More information about the mythtv-users mailing list