[mythtv-commits] Ticket #5164: Mythmovies google movies grabber
MythTV
mythtv at cvs.mythtv.org
Mon Jan 12 03:27:23 UTC 2009
#5164: Mythmovies google movies grabber
-------------------------------------+--------------------------------------
Reporter: jonty.wareing at gmail.com | Owner: stuartm
Type: patch | Status: closed
Priority: minor | Milestone: 0.22
Component: mythmovies | Version: head
Severity: low | Resolution: wontfix
Mlocked: 0 |
-------------------------------------+--------------------------------------
Comment(by Jon):
Hi Jonty,
I'm trying to get this script working and I just can't, when I run it as
is:
{{{
$ googlemovies.2.pl H0H0H0
/usr/local/bin/googlemovies.2.pl: line 2: syntax error near unexpected
token `newline'
/usr/local/bin/googlemovies.2.pl: line 2: `<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
}}}
Which to me looks like my system does not recognize it as a perl script,
so I add {{{#!/usr/bin/perl -W}}} to the top and try again:
{{{
$ googlemovies.2.pl H0H0H0
Unquoted string "title" may clash with future reserved word at
/usr/local/bin/googlemovies.2.pl line 12.
syntax error at /usr/local/bin/googlemovies.2.pl line 12, near "<"
Unrecognized character \xE2 at /usr/local/bin/googlemovies.2.pl line 13.
}}}
Any recommendations?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5164#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list