From 0604c78453398cecd82968ed1522076068969ae4 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 25 Mar 2023 18:35:14 +0100 Subject: [PATCH] CollectionBackend: Check for changed fingerprint --- src/collection/collectionbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collection/collectionbackend.cpp b/src/collection/collectionbackend.cpp index e4e7184da..de9e2001e 100644 --- a/src/collection/collectionbackend.cpp +++ b/src/collection/collectionbackend.cpp @@ -718,7 +718,7 @@ void CollectionBackend::UpdateSongsBySongID(const SongMap &new_songs) { 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);