[mythtv-users] Duplicate entries in mythmusic

Yan Seiner yan at seiner.com
Tue May 27 14:09:03 UTC 2008


Paul Harrison wrote:
> Yan Seiner wrote:
>   
>> I've moved my mythmusic collection around. I changed the main music 
>> directory and restructured the music.
>>
>> I had to rescan the music tree to get my music to show up, which is what 
>> I would expect.
>>
>> But now I have duplicate entries - at least 2 per track.  Sometimes 4.  
>> Mythmusic will play each track at least two times.
>>
>> How do I clean out the database of all music and force a rescan to a 
>> clean table?
>> Thanks,
>>
>> --Yan
>>
>>   
>>     
>
> It would interesting to see what the DB entries look like for a 
> duplicated track but that isn't easy with the new DB schema. If you want 
> to take a look the music table all start with 'music_'.
>
> One way to clear the tables would be to temporarily point your music 
> directory to an empty directory do a rescan then point it back to the 
> correct directory and do another rescan but that shouldn't be necessary 
> if everything is working as it should. 
>   
Seems to be a bug in mythmusic - neither music_directories nor 
music_playlists are cleared when you scan an emply dir tree.  It seems 
that playlists and dirs are 'cumulative' and are never emptied.

All of the other tables are empty as they should be.

--Yan


-- 
  o__
  ,>/'_          o__
  (_)\(_)        ,>/'_        o__
Yan Seiner      (_)\(_)       ,>/'_     o__
       Personal Trainer      (_)\(_)    ,>/'_        o__
             Professional Engineer     (_)\(_)       ,>/'_
Who says engineers have to be pencil necked geeks?  (_)\(_)




More information about the mythtv-users mailing list