From 04e593dc62f8244835a6d84b9517cce832f7b483 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 3 Jan 2024 00:45:30 +0100 Subject: [PATCH] CollectionWatcher: Add unavailable song restored logging --- src/collection/collectionwatcher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collection/collectionwatcher.cpp b/src/collection/collectionwatcher.cpp index 3262da93b..34cf221de 100644 --- a/src/collection/collectionwatcher.cpp +++ b/src/collection/collectionwatcher.cpp @@ -627,6 +627,7 @@ void CollectionWatcher::ScanSubdirectory(const QString &path, const CollectionSu // Nothing has changed - mark the song available without re-scanning else if (matching_song.unavailable()) { + qLog(Debug) << "Unavailable song" << file << "restored."; t->readded_songs << matching_songs; } @@ -886,7 +887,7 @@ void CollectionWatcher::AddChangedSong(const QString &file, const Song &matching QStringList changes; if (matching_song.unavailable()) { - qLog(Debug) << "unavailable song" << file << "restored."; + qLog(Debug) << "Unavailable song" << file << "restored."; notify_new = true; } else {