[mythtv-commits] Ticket #1733: Fix removal of stale metadata in mythmusic's scan

MythTV mythtv at cvs.mythtv.org
Tue Apr 25 14:55:32 UTC 2006

#1733: Fix removal of stale metadata in mythmusic's scan
 Reporter:  Colin Guthrie <mythtv at colin.guthr.ie>  |       Owner:  ijr
     Type:  patch                                  |      Status:  new
 Priority:  minor                                  |   Milestone:     
Component:  mythmusic                              |     Version:     
 Severity:  medium                                 |  
 While explaining something to Joggi on the ML today, I noticed that when
 Mythmusic was doing it's scan for new music, it did not correctly remove
 the stale DB entries for files that no longer exist.

 The removeFromDB method diligently strips of the directory name from the
 filename before the query, but then just binds the original filename to
 the query before executing it...

 The attached patch fixes this.

 One patch you don't need to review Isaac, can I have write access now ;)
 Just kidding :p

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

More information about the mythtv-commits mailing list