Unload playlist on PL=

pull/2393/head
cschwinne 2021-12-01 00:20:33 +01:00
rodzic 33036e7599
commit f7404085de
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -666,6 +666,7 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
//apply preset
if (updateVal(&req, "PL=", &presetCycCurr, presetCycMin, presetCycMax)) {
unloadPlaylist();
applyPreset(presetCycCurr);
}