LinHES Forums
http://forums.linhes.org/

Unable to get tv_grab_au_reg working
http://forums.linhes.org/viewtopic.php?f=15&t=14911
Page 1 of 1

Author:  iluciv [ Thu Apr 12, 2007 6:18 pm ]
Post subject:  Unable to get tv_grab_au_reg working

Hi I've followed the steps in tis thread to the letter I believe


http://mysettopbox.tv/phpBB2/viewtopic.php?t=12057

but I'm unable to get this graber for tvguide.com.au to work
I've registered at the site and set it to xmltv listing chosen my channels and updated my D-Television.xmltv file with the following


Code:

<login provider="tvguide" user="MyuserName" password="MyPassword" filter="true" />

<channel display="ABC Digital" tvguide="ABC-Qld" <!--local="ABC-Qld.tvguide.org.au"--> />
        <channel display="ABC2" tvguide="ABC2" <!--local="ABC2.tvguide.org.au"--> />
        <channel display="Nine" tvguide="Nine-Qld" <!--local="Nine-Qld.tvguide.org.au--> />
        <channel display="SBS" tvguide="SBS-Qld" <!--local="SBS-Qld.tvguide.org.au"--> />
        <channel display="Seven" tvguide="Seven-Bris" <!--local="Seven-Bris.tvguide.org.au"--> />
        <channel display="Ten" tvguide="Ten-Qld" <!--local="Ten-Qld.tvguide.org.au"--> />


I've only just commented out the local="info" so thats not the problem
as too the filter setting (I just decided to try this before I posted)

So running mythfilldata base provides the following output.

Code:

2007-04-13 10:19:41.362 Using runtime prefix = /usr
2007-04-13 10:19:41.418 New DB connection, total: 1
2007-04-13 10:19:41.427 Connected to database 'mythconverg' at host: localhost
2007-04-13 10:19:41.439 New DB connection, total: 2
2007-04-13 10:19:41.440 Connected to database 'mythconverg' at host: localhost
2007-04-13 10:19:41.441 Updating source #1 (D-Television) with grabber tv_grab_au
2007-04-13 10:19:41.442 ----------------- Start of XMLTV output -----------------
2007-04-13 10:19:41.444 New DB connection, total: 3
2007-04-13 10:19:41.445 Connected to database 'mythconverg' at host: localhost


Error reading config file:  /home/mythtv/.mythtv/D-Television.xmltv


Traceback (most recent call last):
  File "/usr/local/bin/tv_grab_au", line 627, in ?
    main()
  File "/usr/local/bin/tv_grab_au", line 605, in main
    load_config(config_file)
  File "/usr/local/bin/tv_grab_au", line 471, in load_config
    for (event,node) in events:
  File "xml/dom/pulldom.py", line 232, in next
  File "xml/dom/pulldom.py", line 265, in getEvent
  File "xml/sax/expatreader.py", line 211, in feed
  File "xml/sax/handler.py", line 38, in fatalError
xml.sax._exceptions.SAXParseException: <unknown>:95:57: not well-formed (invalid token)
2007-04-13 10:19:41.624 ------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file
2007-04-13 10:19:41.628 Updating icons for sourceid: 1
2007-04-13 10:19:41.630 New DB connection, total: 4
2007-04-13 10:19:41.631 Connected to database 'mythconverg' at host: localhost
Updated programs: 0  Unchanged programs: 0
2007-04-13 10:19:41.641 New DB connection, total: 5
2007-04-13 10:19:41.642 Connected to database 'mythconverg' at host: localhost
2007-04-13 10:19:41.646 Failed to fetch some program info
2007-04-13 10:19:41.646 Adjusting program database end times.
2007-04-13 10:19:41.647     0 replacements made
2007-04-13 10:19:41.647 Marking generic episodes.
2007-04-13 10:19:41.648     Found 0
2007-04-13 10:19:41.649 Marking repeats.
2007-04-13 10:19:41.652     Found 0
2007-04-13 10:19:41.652 Unmarking new episode rebroadcast repeats.
2007-04-13 10:19:41.652     Found 0
2007-04-13 10:19:41.653 Marking episode first showings.
2007-04-13 10:19:41.654     Found 0
2007-04-13 10:19:41.654 Marking episode last showings.
2007-04-13 10:19:41.655     Found 0
2007-04-13 10:19:41.656


I hope this is enough info for someone to help.

thanks heaps in advance

Author:  Girkers [ Thu Apr 12, 2007 9:37 pm ]
Post subject: 

Dude I think you have your config file wrong, this is what it should look like:
Code:
<login provider="tvguide" user="MyuserName" password="MyPassword" filter="true" />

<channel display="ABC Digital" tvguide="ABC-Qld" local="ABC-Qld.tvguide.org.au" />
<channel display="ABC2" tvguide="ABC2" local="ABC2.tvguide.org.au" />
<channel display="Nine" tvguide="Nine-Qld" local="Nine-Qld.tvguide.org.au />
<channel display="SBS" tvguide="SBS-Qld" local="SBS-Qld.tvguide.org.au" />
<channel display="Seven" tvguide="Seven-Bris" local="Seven-Bris.tvguide.org.au" />
<channel display="Ten" tvguide="Ten-Qld" local="Ten-Qld.tvguide.org.au" />


Also you may need to check your permissions, in the directory where you have the xml file do a
Code:
ls -la
and this will list the full contents of the directory and owner of the xml file. It must be owned by mythtv.

Give that a go

Author:  mythingpersons [ Thu Apr 12, 2007 9:41 pm ]
Post subject: 

I have had this problem before and a question of Will Uther received this reply

Quote:
Hi,
The script is having trouble parsing your config file. Try
cutting out all the commented stuff instead of using comments.

Be well,

Will :-}


So deleting all but the required lines in the config file worked for me!

Author:  iluciv [ Fri Apr 13, 2007 4:26 pm ]
Post subject: 

I tried both of your suggestions but alas no joy.

The config file looked odd as I commented out the local setting just before I posted to see if that woul have any effect.

So now the whole config file looks accordingly


Code:
<?xml version="1.0"?>

<config>
        <login provider="tvguide" user="LewisC" password="simple1" filter="true" />

        <channel display="ABC Digital" tvguide="ABC-Qld" local="ABC-Qld.tvguide.org.au" />
        <channel display="ABC2" tvguide="ABC2" local="ABC2.tvguide.org.au" />
        <channel display="Nine" tvguide="Nine-Qld" local="Nine-Qld.tvguide.org.au />
        <channel display="SBS" tvguide="SBS-Qld" local="SBS-Qld.tvguide.org.au" />
        <channel display="Seven" tvguide="Seven-Bris" local="Seven-Bris.tvguide.org.au" />
        <channel display="Ten" tvguide="Ten-Qld" local="Ten-Qld.tvguide.org.au" />
</config>



yet it's still providing the same error as above.

Is there a way to start this whole process again? and clean out all the preocess steps I've done?
I was think maybe the tv_grab_au_reg file didn't downlaod correctly.

Most likely though its probably something I've just stuffed up :)

Author:  iluciv [ Wed Apr 18, 2007 3:02 am ]
Post subject: 

Got another grab working as I couldn't get this one to connect and retrive information

I thought I bookmarked the link that provided the guide for me to do this (Linux noob) but I seem to have not.

Will post later if discovered

Author:  iluciv [ Mon Apr 30, 2007 3:35 am ]
Post subject: 

Hi again

I found this little app for xmltv listings instead of using tv_grab_au (well it does use the grab but the app supplies it)

Named shepherd

http://svn.whuffy.com/index.fcgi/wiki/Installation#RequiredModule:XMLTV

really quite easy to set up and use plus has some nice icons to sit in your guide

Brilliant eh?

:)

Author:  manicmike [ Fri May 04, 2007 6:01 am ]
Post subject:  Re: Unable to get tv_grab_au_reg working

iluciv wrote:
Hi I've followed the steps in tis thread to the letter I believe


http://mysettopbox.tv/phpBB2/viewtopic.php?t=12057

but I'm unable to get this graber for tvguide.com.au to work
I've registered at the site and set it to xmltv listing chosen my channels and updated my D-Television.xmltv file with the following


Code:

<login provider="tvguide" user="MyuserName" password="MyPassword" filter="true" />

<channel display="ABC Digital" tvguide="ABC-Qld" <!--local="ABC-Qld.tvguide.org.au"--> />
        <channel display="ABC2" tvguide="ABC2" <!--local="ABC2.tvguide.org.au"--> />
        <channel display="Nine" tvguide="Nine-Qld" <!--local="Nine-Qld.tvguide.org.au--> />
        <channel display="SBS" tvguide="SBS-Qld" <!--local="SBS-Qld.tvguide.org.au"--> />
        <channel display="Seven" tvguide="Seven-Bris" <!--local="Seven-Bris.tvguide.org.au"--> />
        <channel display="Ten" tvguide="Ten-Qld" <!--local="Ten-Qld.tvguide.org.au"--> />


I've only just commented out the local="info" so thats not the problem
as too the filter setting (I just decided to try this before I posted)

So running mythfilldata base provides the following output.

Code:

2007-04-13 10:19:41.362 Using runtime prefix = /usr
2007-04-13 10:19:41.418 New DB connection, total: 1
2007-04-13 10:19:41.427 Connected to database 'mythconverg' at host: localhost
2007-04-13 10:19:41.439 New DB connection, total: 2
2007-04-13 10:19:41.440 Connected to database 'mythconverg' at host: localhost
2007-04-13 10:19:41.441 Updating source #1 (D-Television) with grabber tv_grab_au
2007-04-13 10:19:41.442 ----------------- Start of XMLTV output -----------------
2007-04-13 10:19:41.444 New DB connection, total: 3
2007-04-13 10:19:41.445 Connected to database 'mythconverg' at host: localhost


Error reading config file:  /home/mythtv/.mythtv/D-Television.xmltv


Traceback (most recent call last):
  File "/usr/local/bin/tv_grab_au", line 627, in ?
    main()
  File "/usr/local/bin/tv_grab_au", line 605, in main
    load_config(config_file)
  File "/usr/local/bin/tv_grab_au", line 471, in load_config
    for (event,node) in events:
  File "xml/dom/pulldom.py", line 232, in next
  File "xml/dom/pulldom.py", line 265, in getEvent
  File "xml/sax/expatreader.py", line 211, in feed
  File "xml/sax/handler.py", line 38, in fatalError
xml.sax._exceptions.SAXParseException: <unknown>:95:57: not well-formed (invalid token)
2007-04-13 10:19:41.624 ------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file
2007-04-13 10:19:41.628 Updating icons for sourceid: 1
2007-04-13 10:19:41.630 New DB connection, total: 4
2007-04-13 10:19:41.631 Connected to database 'mythconverg' at host: localhost
Updated programs: 0  Unchanged programs: 0
2007-04-13 10:19:41.641 New DB connection, total: 5
2007-04-13 10:19:41.642 Connected to database 'mythconverg' at host: localhost
2007-04-13 10:19:41.646 Failed to fetch some program info
2007-04-13 10:19:41.646 Adjusting program database end times.
2007-04-13 10:19:41.647     0 replacements made
2007-04-13 10:19:41.647 Marking generic episodes.
2007-04-13 10:19:41.648     Found 0
2007-04-13 10:19:41.649 Marking repeats.
2007-04-13 10:19:41.652     Found 0
2007-04-13 10:19:41.652 Unmarking new episode rebroadcast repeats.
2007-04-13 10:19:41.652     Found 0
2007-04-13 10:19:41.653 Marking episode first showings.
2007-04-13 10:19:41.654     Found 0
2007-04-13 10:19:41.654 Marking episode last showings.
2007-04-13 10:19:41.655     Found 0
2007-04-13 10:19:41.656


I hope this is enough info for someone to help.

thanks heaps in advance


Try my config script at http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=

Mike

Author:  Ralphthedog [ Sun May 06, 2007 7:31 pm ]
Post subject: 

Another vote for Shepherd.

Fantastic EPG grabber that doesn't rely on one source and automatically updates itself so none of the individual grabbers it uses break.....or at least stay broken for long. Works for regional TV channels too.

Make sure you install as many of the optional modules as you can so shepherd can use the maximum number of grabbers. I had to do an "apt-get update" to get the last few bits and pieces.

Runs without incident on my R5E50 box.


RTD.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/