[mythtv-commits] Ticket #5164: Mythmovies google movies grabber

MythTV mythtv at cvs.mythtv.org
Mon Jan 12 19:30:36 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):

 Wow that's embarrassing. I guess I was a little tired last night. I have
 to admit, I was a little confused when I took a quick look at the
 'script'... ;) Thanks.
 It works fine from the command line now, but it crashes mythfronted. Based
 off two different postal codes, I think it's caused by the ampersand in
 "Marley & Me" (does the script have taste?).
 Calling mythfrontend from a command line and then navigating to mythmovie,
 gives us:
 {{{
 $ mythfrontend
 [...]
 2009-01-12 14:18:56.353 Movie Data Has Expired. Refreshing.
 2009-01-12 14:18:56.362 MythMovies Data Grabber: Executing
 '/usr/local/bin/googlemovies.2.pl M5V2T6'
 2009-01-12 14:18:58.304 Grabber Finished. Processing Data.
 2009-01-12 14:18:58.305 Error parsing data from grabber: Error: letter is
 expected Location Line: 26 Column 15
 }}}
 So I piped the output of the script into a file, and line 26 verbatim is:
 {{{
 <Name>Marley & Me</Name>
 }}}
 Which is the first instance of the movie in the file. I tried it with
 another postal code and got the "exact" same error (different line, but
 same column and once again the first instance of "Marley & Me"). We also
 have some theatres here in Toronto that have ampersands in their names,
 however they occur further along the file than Marley & Me, so I don't
 know if they'd cause the same problem. I used the postal code of the CN
 Tower if you want to replicate my results, it's M5V2T6

 ~Jon

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5164#comment:9>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list