Don't stop library scan just because of failure in 1 directory.

Closes #1389
This commit is contained in:
Craig Drummond
2018-10-18 19:29:22 +01:00
committed by Craig Drummond
parent 63661ecc77
commit 3e7a0132a9
2 changed files with 2 additions and 3 deletions

View File

@@ -28,6 +28,7 @@
18. Add option to sort smart playlists by title.
19. Change toolbar colours if palette changes.
20. Add another qt5ct palette work-around.
21. Don't stop library scan just because of failure in 1 directory.
2.3.2
-----

View File

@@ -2124,9 +2124,7 @@ bool MPDConnection::recursivelyListDir(const QString &dir, QList<Song> &songs)
songs.clear();
}
for (const QString &sub: subDirs) {
if (!recursivelyListDir(sub, songs)) {
return false;
}
recursivelyListDir(sub, songs);
}
if (topLevel && !songs.isEmpty()) {