From ed260c6e208fcaf3731197da849395a47ac0ee5e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 25 Mar 2023 14:35:12 +0100 Subject: [PATCH] CollectionWatcher: Check for changed AcoustID and MusicBrainz --- src/collection/collectionwatcher.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/collection/collectionwatcher.cpp b/src/collection/collectionwatcher.cpp index e04b93cac..70f57e55d 100644 --- a/src/collection/collectionwatcher.cpp +++ b/src/collection/collectionwatcher.cpp @@ -863,10 +863,18 @@ void CollectionWatcher::AddChangedSong(const QString &file, const Song &matching changes << "rating"; notify_new = true; } - if (matching_song.art_automatic() != new_song.art_automatic() || matching_song.art_manual() != new_song.art_manual()) { + if (!matching_song.IsArtEqual(new_song)) { changes << "album art"; notify_new = true; } + if (!matching_song.IsAcoustIdEqual(new_song)) { + changes << "acoustid"; + notify_new = true; + } + if (!matching_song.IsMusicBrainzEqual(new_song)) { + changes << "musicbrainz"; + notify_new = true; + } if (matching_song.mtime() != new_song.mtime()) { changes << "mtime"; }