1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-08 22:32:17 +01:00

CollectionWatcher: Add unavailable song restored logging

This commit is contained in:
Jonas Kvinge 2024-01-03 00:45:30 +01:00
parent 2294c38aa9
commit 04e593dc62

View File

@ -627,6 +627,7 @@ void CollectionWatcher::ScanSubdirectory(const QString &path, const CollectionSu
// Nothing has changed - mark the song available without re-scanning // Nothing has changed - mark the song available without re-scanning
else if (matching_song.unavailable()) { else if (matching_song.unavailable()) {
qLog(Debug) << "Unavailable song" << file << "restored.";
t->readded_songs << matching_songs; t->readded_songs << matching_songs;
} }
@ -886,7 +887,7 @@ void CollectionWatcher::AddChangedSong(const QString &file, const Song &matching
QStringList changes; QStringList changes;
if (matching_song.unavailable()) { if (matching_song.unavailable()) {
qLog(Debug) << "unavailable song" << file << "restored."; qLog(Debug) << "Unavailable song" << file << "restored.";
notify_new = true; notify_new = true;
} }
else { else {