added new NP command to API to allow user to skip to next preset in a playlist. Example use is win&NP in a preset.
pull/3946/head
freakintoddles2 2024-04-30 16:33:30 -07:00 zatwierdzone przez GitHub
rodzic 071e0be445
commit 3b89814b69
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -901,6 +901,9 @@ bool handleSet(AsyncWebServerRequest *request, const String& req, bool apply)
applyPreset(presetCycCurr);
}
pos = req.indexOf(F("NP")); //skips to next preset in a playlist
if (pos > 0) handlePlaylist(true);
//set brightness
updateVal(req.c_str(), "&A=", &bri);