[mythtv-commits] Ticket #6219: Fix for python imdb script to work with IMDbPY 3.9

MythTV mythtv at cvs.mythtv.org
Tue Feb 3 09:01:23 UTC 2009


#6219: Fix for python imdb script to work with IMDbPY 3.9
---------------------------------+------------------------------------------
 Reporter:  jyavenard at gmail.com  |       Owner:  awithers
     Type:  defect               |      Status:  new     
 Priority:  minor                |   Milestone:  unknown 
Component:  Plugin - MythVideo   |     Version:  head    
 Severity:  medium               |     Mlocked:  0       
---------------------------------+------------------------------------------
 After upgrading to IMDbPY 3.9, I've noticed that when doing an IMDB search
 in MythTV, in the resulting meta-data the content of the "plot" field was
 made of only one word.

 After investigation, I've found that in IMDBPY 3.6 (which ships with
 Ubuntu 8.10) returns the plot in the format:
 Author::plot_content
 with with 3.9 it is:
 plot_content::Author

 The Mythvideo's imdbpy.py script assumes that the plot field is always in
 the form:
 Author::plot_content

 The patch attached is a small work-around ; it checks the length of either
 the description or the author and we assume that the longest is the actual
 description

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6219>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list