[mythtv-commits] Ticket #4055: Fix broken find_meta.py, handle exceptions, correctly detect if video has metadata

MythTV mythtv at cvs.mythtv.org
Sat Oct 6 01:53:46 UTC 2007


#4055: Fix broken find_meta.py, handle exceptions, correctly detect if video has
metadata
---------------------------------------+------------------------------------
 Reporter:  matthew.d.stone at gmail.com  |       Owner:  awithers
     Type:  patch                      |      Status:  new     
 Priority:  minor                      |   Milestone:  unknown 
Component:  mythvideo                  |     Version:  head    
 Severity:  medium                     |     Mlocked:  0       
---------------------------------------+------------------------------------
 Find_meta.py:
 Surround IMDB lookup with a try/catch so the import continues even if
 there is an error.

 MythTV.py:
 Added a method hasMetadata(videopath).  This will correctly identify
 whether or not a given file path has valid metadata in the myth db.  I
 check for default category and year values and return False if they have
 not been changed.

 imdbpy.py:
 Fixed a bug where sometimes the imdb module would return a movie with no
 Year in the key.  This defaults to 1901 if that happens instead of
 stopping import.

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


More information about the mythtv-commits mailing list