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:
parent
7d96fe8b65
commit
558a087e37
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user