Reload folder mappings after modifying a mapping.

This commit is contained in:
2019-11-17 14:26:23 +01:00
parent b5ec78ab41
commit e1dd004cf5
4 changed files with 106 additions and 64 deletions

View File

@ -123,7 +123,8 @@ void Controller::_check_rfid() {
}
}
if (pl==NULL) {
INFO("Could not find album for id '%s'.", s_uid.c_str());
INFO("Could not find album for id '%s'.\n", s_uid.c_str());
send_controller_status();
return;
}
int index;
@ -412,5 +413,11 @@ void Controller::inform_new_client(AsyncWebSocketClient* client) {
}
void Controller::queue_command(String s) {
DEBUG("Enqeueing command '%s'.\n", s.c_str());
_cmd_queue = s;
}
void Controller::update_playlist_manager() {
_pm->scan_files();
send_playlist_manager_status();
}