[mythtv-users] tv_grab_au update v1.34
Phill Edwards
philledwards at gmail.com
Tue Aug 9 07:22:49 UTC 2005
On 09/08/05, Marty Ravell <mythtv at rave-tech.com.au> wrote:
> I'm trying to run this script on a new mythconverg (read empty) database but
> come up with the following errors:
>
>
> [mythtv at localhost ~]$ mythfilldatabase
> 2005-08-09 18:00:04.004 New DB connection, total: 1
> 2005-08-09 18:00:04.010 mythfilldatabase: Listings Download Started
> 2005-08-09 18:00:04.011 New DB connection, total: 2
> ----------------- Start of XMLTV output -----------------
> 2005-08-09 18:00:04.013 New DB connection, total: 3
> grabbing 7 days into /tmp/mythsKG5L0
> error reading page
> http://tvguide.ninemsn.com.au/guide/14082005_123.asp?channel=foxtel&MSID=526
> 015aea2c8ec870c248412d04880e6 in 5 attempts at /home/mythtv/bin/tv_grab_au
> line 709, <> line 1.
> ------------------ End of XMLTV output ------------------
> Error in 1:1: unexpected end of file
> Updating icons for sourceid: 1
> 2005-08-09 18:02:04.350 New DB connection, total: 4
> Updated programs: 0 Unchanged programs: 0
> Failed to fetch some program info
> 2005-08-09 18:02:04.357 mythfilldatabase: Failed to fetch some program info
> [mythtv at localhost ~]$
>
>
> If I just run 'tv_grab_au' on it's own from the command line it seems to
> work (there is now content in /var/local/tv_grab_au/guide.xml)
>
> Am I doing something wrong? (I'm betting heavily that it is me and not the
> script that has a problem PEBKAC).
Are you sure you've told mythfilldatabase which xml file to use, and
that it exists? I run mine like this:
$ /usr/local/bin/tv_grab_au_v1.34 --config-file
/home/mythtv/.xmltv/tv_grab_au_9msn.conf
$ mythfilldatabase --file 1 7 /home/mythtv/.xmltv/tvlistings_9msn.xml
And my config file looks like this:
$conf = {
'days' => 7,
'output' => '/home/mythtv/.xmltv/tvlistings_9msn.xml',
'TZ' => '+1000',
'services' => [
{
'name' => 'free',
'region' => 'Sydney',
'regionid' => '73'
}
],
'slow' => 1
};
$channels = {
'ABC NSW' => 'nsw.abc.gov.au',
'ABC2' => 'abc2.abc.gov.au',
'CHANNEL NINE SYDNEY' => 'sydney.nine.com.au',
'CHANNEL SEVEN SYDNEY' => 'sydney.seven.com.au',
'NETWORK TEN SYDNEY' => 'sydney.ten.com.au',
'SBS NEWS' => 'news.sbs.com.au',
'SBS SYDNEY' => 'sydney.sbs.com.au'
};
Regards,
Phill
More information about the mythtv-users
mailing list