mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-08 06:14:10 +01:00
CollectionBackend: Check for changed fingerprint
This commit is contained in:
parent
c8169adf7c
commit
0604c78453
@ -718,7 +718,7 @@ void CollectionBackend::UpdateSongsBySongID(const SongMap &new_songs) {
|
|||||||
|
|
||||||
Song old_song = old_songs[new_song.song_id()];
|
Song old_song = old_songs[new_song.song_id()];
|
||||||
|
|
||||||
if (!new_song.IsAllMetadataEqual(old_song)) { // Update existing song.
|
if (!new_song.IsAllMetadataEqual(old_song) || !new_song.IsFingerprintEqual(old_song)) { // Update existing song.
|
||||||
|
|
||||||
{
|
{
|
||||||
SqlQuery q(db);
|
SqlQuery q(db);
|
||||||
|
Loading…
Reference in New Issue
Block a user