Bugzilla – Bug 16060
New & changed scan doesn't clean up genres
Last modified: 2011-11-05 10:40:12 UTC
This is probably true of all: contributors, albums, years, genres. If you edit tags in your library so that you effectively remove a genre (fix a misspelling, for example) a 'new & changed' scan in 7.6.0 will fail to remove the genre from the genres table. I haven't tried it recently in 7.5.x to see if the behavior is different, but if it would help I can do that.
To answer that last question... Yes, a 'new & changed' scan in 7.5 trunk removes the dead genre.
Andy, was this inadvertently marked fixed?
No, I believe this is fixed in 7.6.
No, it's still present in both 7.6 trunk and onebrowser.
Definitely not fixed in 7.6
I did a bit more testing today and this bug appears to only affect genres. Orphaned artists, albums and years are cleaned up correctly during a new & changed scan.
Not just genres I've seen also artists
Is this a difficult fix? I would think you just apply the same logic used for contributors and albums and run a query to do the cleanup.
I'll look at it, thanks for bringing it up.
== Auto-comment from SVN commit #33079 to the slim repo by agrundman == == http://svn.slimdevices.com/slim?view=revision&revision=33079 == Fixed bug 16060, the code to remove unused genres was broken by the data format coming out of DBI
I still see empty albums ... Is this supposed to be fixed in 7.6.2, or only in 7.7?