Bug 17782 - Rescan after modifying embedded cover art corrupts track metadata
: Rescan after modifying embedded cover art corrupts track metadata
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.7.0
: PC Debian Linux
: P1 major with 3 votes (vote)
: 7.7.x
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-22 11:05 UTC by p_lemonde
Modified: 2012-08-05 10:44 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p_lemonde 2011-11-22 11:05:36 UTC
Updated the embedded cover art on an album, bumped the timestamps on all the FLAC files in the album directory forward by 2 seconds and then did a scan for new and changed.

The track listing metadata showed track 1 twice and then track 3, etc. despite the tags being correct in the file for track 2.

I tried moving the album from out of the music directory structure, scanned for new and changed to remove it, copied it back, scanned for new and changed again at which point the scanner locked up seemingly because of the other bug on file renaming, stopped and restarted the server, scanned again and got the correct track order.

Shortly thereafter I (perhaps foolishly) updated the cover art on another album.

Scanned, got track 1 twice and then track 3 as before, but this time I just did a second scan and it fixed itself.
Comment 1 p_lemonde 2012-05-31 22:56:15 UTC
This bug is still persisting in 7.7.2.

Removing an album from the library, scanning for new and changed to delete it, adding it back, scanning for new and changed can also cause the problem.

Or, sometimes, if you've changed the artwork on more than one album in a day the second scan for new and changed can break the track 2 tags on the first album.

This really needs an urgent fix as you can get database corruption and not even realise it.
Comment 2 egd 2012-08-05 10:44:50 UTC
*** This bug has been confirmed by popular vote. ***