PlaylistManager: Only search for folders, don't try it with webstreams.
This commit is contained in:
parent
519ac0e3bd
commit
8f19b990ff
@ -40,6 +40,7 @@ void PlaylistManager::scan_files() {
|
||||
TRACE(" Adding mapping: %s=>%s\n", rfid_id.c_str(), folder.c_str());
|
||||
_map[rfid_id] = folder;
|
||||
|
||||
if (folder.charAt(0)=='/') {
|
||||
bool found=false;
|
||||
for (String f: folders) {
|
||||
if (f.equals(folder)) {
|
||||
@ -52,6 +53,7 @@ void PlaylistManager::scan_files() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
f.close();
|
||||
}
|
||||
root.close();
|
||||
|
Loading…
Reference in New Issue
Block a user