Re: [mythtv-users] tv_grab_au update v1.34

2005-08-09 Thread Michael Smith



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.



Ah, there isn't a guide page up for foxtel on Sunday. That's the
problem. When you run from mythfilldatabase, it asks for 7 days, whereas
my script usually defaults to 5 days; hence the difference in behaviour.

I'll change things so that this doesn't cause the rest of the listing
data to fail...

Update later tonight or tomorrow.

Cheers,
Michael.


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] tv_grab_au update v1.34

2005-08-09 Thread Phill Edwards
On 09/08/05, Marty Ravell <[EMAIL PROTECTED]> wrote:
> I'm trying to run this script on a new mythconverg (read empty) database but
> come up with the following errors:
> 
> 
> [EMAIL PROTECTED] ~]$ 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
> [EMAIL PROTECTED] ~]$
> 
> 
> 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
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RE: [mythtv-users] tv_grab_au update v1.34

2005-08-09 Thread Marty Ravell
I'm trying to run this script on a new mythconverg (read empty) database but
come up with the following errors:


[EMAIL PROTECTED] ~]$ 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
[EMAIL PROTECTED] ~]$ 


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).


Regards
Marty



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Smith
Sent: Monday, 8 August 2005 6:41 PM
To: Discussion about mythtv
Subject: [mythtv-users] tv_grab_au update v1.34

Hi all,

Jon Whitear sent me some more debugging info and I tracked down the 
problem to some incompatible perl libraries. Updated script:

   

Enjoy.

Cheers,
Michael.



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] tv_grab_au update v1.34

2005-08-08 Thread David Maher
Thanks again Michael for all your work on this, you have solved my
problems with multiple channels having the same listings.

Regards

David Maher
On Mon, 2005-08-08 at 18:41 +1000, Michael Smith wrote:
> Hi all,
> 
> Jon Whitear sent me some more debugging info and I tracked down the 
> problem to some incompatible perl libraries. Updated script:
> 
>
> 
> Enjoy.
> 
> Cheers,
> Michael.
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users