[mythtv-commits] Ticket #2906: Video poster filename is not always unique

MythTV mythtv at cvs.mythtv.org
Thu Jan 11 21:21:56 UTC 2007


#2906: Video poster filename is not always unique
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  awithers
     Type:  defect     |      Status:  new     
 Priority:  minor      |   Milestone:  unknown 
Component:  mythvideo  |     Version:  0.20    
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 Posters are downloaded into a single directory, and the assumption is that
 each poster has a unique filename. This assumption does not hold. I have
 seen several times where two different movies have the same poster
 filename. This is because the file is under different paths on the server.

 For example:
 http://ia.ec.imdb.com/media/imdb/01/I/88/41/61/10m.jpg
 http://ia.ec.imdb.com/media/imdb/01/I/14/36/61/10m.jpg
 http://ia.ec.imdb.com/media/imdb/01/I/08/78/91/10m.jpg

 Symptom:
 You get the same (latest downloaded) poster for several movies.

 I would solve this by turning the filename into the file's MD5/SHA1 sum.

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


More information about the mythtv-commits mailing list