Bug 3928 - remove dead data when doing on the fly scanning of updated tracks
: remove dead data when doing on the fly scanning of updated tracks
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P2 enhancement (vote)
: 7.4.1
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-16 10:43 UTC by Jim McAtee
Modified: 2009-10-22 11:23 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2006-08-16 10:43:39 UTC
When tracks in an album are updated via common browsing, SlimServer picks up tag changes to artists but it doesn't drop previously referenced contributors that now (should) have no tracks or albums.  Fix a typo in an artist name and you'll then have two similarly spelled artists, both in the library's artist list and in the credits for the album/track.  In the artist list (browse Artists) the mispelled contributor will have an album, but it will contain 0 tracks.
Comment 1 Jim McAtee 2006-08-16 11:00:16 UTC
Small correction: The two artists are listed under browse artist, and they're both listed wherever the album is listed, but they're not both listed in the track details.
Comment 2 Dan Sully 2006-08-17 15:48:24 UTC
Jim - can you run with --d_import - the cleanup method should be called when a rescan is run.

Is this via BMF or rescan?
Comment 3 Jim McAtee 2006-08-17 16:02:20 UTC
What I meant by 'common browsing' is just normal browsing via New Music, Albums, Artists, etc.  This activity seems to be enough to cause tracks to be rescanned and changes written to the database.  I don't recall how deep I had to browse - perhaps all the way to the track detail level to get it to completely update the info.  Is that the intended behavior?
Comment 4 Chris Owens 2006-08-18 12:30:58 UTC
Dan says that is actually the intended behavior.
Comment 5 Jim McAtee 2006-08-18 12:48:44 UTC
Ok, that's fine.  I've changed this to an enhancement request.  I'd suggest running some sort of limited cleanup for these cases.  Go through the metadata of album, date, contributors and genres associated with any track being changed or deleted from the database, and delete any that no longer exist.

Comment 6 Blackketter Dean 2006-09-16 16:21:10 UTC
will reassess post 6.5
Comment 7 Jim McAtee 2009-10-17 00:12:45 UTC
This appears to be largely fixed in recent releases.
Comment 8 James Richardson 2009-10-22 11:23:21 UTC
This bug has been marked as fixed in the 7.4.1 release version of SqueezeBox
Server! 

Please see the Release Notes for all the details:
http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from
http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with
your new comments and we'll have another look.