[mythtv-users] Yet another mythmovies grabber

Drew Gilbert gilbert.drew at gmail.com
Fri Jun 13 12:18:01 UTC 2008


On Friday 13 June 2008 12:14:02 Phill Edwards wrote:
> I had some trouble with the googlemovies script that someone else had
> been posted, so I've created yet another one. It's been designed to
> work for Australian movies from Google Movies, but it also seems to
> work for UK and USA.
>

Thanks for the effort!

> You can find it at
> http://www.oaklands.aust.com/mythtv/gmythmovies.zip. It's a total hack
> as I'm not a perl programmer, but it works - at the moment at least.
> If the Google Movies page layout changes the script will almost
> certainly break.
>
> To use it you just specify the postcode in the MythMovies settings
> screen in MythTV and enter the following as the command line:
>          /path/to/script/gmythmovies.pl %z
>
> Don't forget to make it executable if it's not already.

You'll probably need to run dos2unix on it too..

Still it doesn't run for me, somewhere during the xml output, I get the error:

    <Movie>
Use of uninitialized value in concatenation (.) or string 
at /usr/local/bin/gmythmovies.pl line 144.
      <Rating></Rating>
      <Name>Four Minutes</Name>
Use of uninitialized value in concatenation (.) or string 
at /usr/local/bin/gmythmovies.pl line 146.

Of course mythmovies does not like this.  I have tried a few different (UK) 
postcodes but get the same thing.  I don't know perl at all and don't have 
time to learn it at the moment.  Just thought you should know.

Thanks,
Drew



More information about the mythtv-users mailing list