1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-06 21:31:23 +01:00

CollectionWatcher: Resume collection scan when adding directory

This commit is contained in:
Jonas Kvinge 2022-01-06 23:29:20 +01:00
parent 7d96fe8b65
commit 558a087e37

View File

@ -374,6 +374,8 @@ SubdirectoryList CollectionWatcher::ScanTransaction::GetAllSubdirs() {
void CollectionWatcher::AddDirectory(const Directory &dir, const SubdirectoryList &subdirs) {
stop_requested_ = false;
watched_dirs_[dir.id] = dir;
if (subdirs.isEmpty()) {