Don't stop library scan just because of failure in 1 directory.
Closes #1389
This commit is contained in:
committed by
Craig Drummond
parent
63661ecc77
commit
3e7a0132a9
@@ -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
|
||||
-----
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user