From f7404085de1fc6bab172bcde010381743325061f Mon Sep 17 00:00:00 2001 From: cschwinne Date: Wed, 1 Dec 2021 00:20:33 +0100 Subject: [PATCH] Unload playlist on PL= --- wled00/set.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wled00/set.cpp b/wled00/set.cpp index 187a8618..21bf1356 100644 --- a/wled00/set.cpp +++ b/wled00/set.cpp @@ -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); }