[mythtv-users] Yet another mythmovies grabber

Drew Gilbert gilbert.drew at gmail.com
Fri Jun 13 15:07:23 UTC 2008


On Friday 13 June 2008 15:46:28 John Payne wrote:
>  Drew Gilbert wrote:
> On Friday 13 June 2008 14:02:38 Phill Edwards wrote:
>
> 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.
>
> What postcode are you running it for?
>
>
> I've tried IV159HS, IV1599RA, EH141NU.  All have the same problem
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>  Very good script! Unfortunately it can't handle Switzerland (yet) as
> Google seems to add some extra <br>s and possibly other stuff.
>
>  The 'use of uninitialized....' messages are due to the use warnings line -
> remove that (or comment it) and they'll disappear.
>
>  Here's a typical entry for
> http://www.google.com/movies?near=baden,+switzerland - running time ends up
> in Rating, RunningTime & ShowTimes
>
>      <Movie>
>        <Rating><br>2hr&nbsp;2min</Rating>
>        <Name>Indiana Jones and the Kingdom of the Crystal Skull</Name>
>        <RunningTime>2hr 2min</RunningTime>
>        <ShowTimes><br>2hr&nbsp;2minAction/Adventure Dubbed in
> EnglishSubtitled in German and French 17:00 22:30</ShowTimes> </Movie>
>
>  I modified the s/<br>// to be global but it still doesn't remove them -
> The movietiime plugin then complains because there are no </br>s for the
> <br>s
>
>  I'll see if I can get the formatting fixed
>
>  John

I commented out the use warning line, the error did disappear but it 
still 'failed to process grabber data'.  I have attached the xml file 
generated, incase anyone can make sense of it.

Thanks,
Drew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythmovies.xml
Type: text/xml
Size: 16768 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20080613/bf426121/attachment.bin 


More information about the mythtv-users mailing list