Unload playlist on PL=

This commit is contained in:
cschwinne 2021-12-01 00:20:33 +01:00
parent 33036e7599
commit f7404085de

View File

@ -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);
}