[mythtv-commits] Ticket #3118: imdb.pl patch to more consistently scrape movie runtime

MythTV mythtv at cvs.mythtv.org
Wed Feb 21 14:24:34 UTC 2007


#3118: imdb.pl patch to more consistently scrape movie runtime
------------------------------------+---------------------------------------
 Reporter:  rsalern5 at optonline.net  |       Owner:  ijr    
     Type:  defect                  |      Status:  new    
 Priority:  minor                   |   Milestone:  unknown
Component:  mythtv                  |     Version:  0.20   
 Severity:  medium                  |  
------------------------------------+---------------------------------------
 If the first attempt at determining movie runtime fails, make a second
 attempt to grab the runtime.

 This works when the imdb site displays runtime like this:

 '''Runtime:  Argentina:99 min / Norway:55 min / USA:98 min'''

 Prior versions will result in a runtime of zero in this instance.  The
 attached patch looks for "USA:" and attempts to use the subsequent number
 to determine runtime.  "USA:" was used since it was most consistently
 present among lists of multiple countries.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/3118>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list