<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Drew Gilbert wrote:
<blockquote cite="mid:200806131457.19128.gilbert.drew@gmail.com"
type="cite">
<pre wrap="">On Friday 13 June 2008 14:02:38 Phill Edwards wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">What postcode are you running it for?
</pre>
</blockquote>
<pre wrap=""><!---->
I've tried IV159HS, IV1599RA, EH141NU. All have the same problem
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
Very good script! Unfortunately it can't handle Switzerland (yet) as
Google seems to add some extra <br>s and possibly other stuff.<br>
<br>
The 'use of uninitialized....' messages are due to the <b>use warnings</b>
line - remove that (or comment it) and they'll disappear.<br>
<br>
Here's a typical entry for
<a class="moz-txt-link-freetext" href="http://www.google.com/movies?near=baden,+switzerland">http://www.google.com/movies?near=baden,+switzerland</a> - running time
ends up in Rating, RunningTime & ShowTimes<br>
<br>
<Movie><br>
<Rating><br>2hr&nbsp;2min</Rating><br>
<Name>Indiana Jones and the Kingdom of the Crystal
Skull</Name><br>
<RunningTime>2hr 2min</RunningTime><br>
<ShowTimes><br>2hr&nbsp;2minAction/Adventure
Dubbed in EnglishSubtitled in German and French 17:00
22:30</ShowTimes><br>
</Movie><br>
<br>
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<br>
<br>
I'll see if I can get the formatting fixed<br>
<br>
John<br>
</body>
</html>