1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-22 13:40:28 +01:00

CollectionWatcher: Check for changed AcoustID and MusicBrainz

This commit is contained in:
Jonas Kvinge 2023-03-25 14:35:12 +01:00
parent fab38f693d
commit ed260c6e20

View File

@ -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";
}