Merge pull request #3946 from freakintoddles2/0_15

Adds an API parameter to allow the user to skip to the next preset in a playlist at any time
This commit is contained in:
Blaž Kristan
2024-05-03 23:25:36 +02:00
committed by Frank
parent a78cd65dcd
commit c3a908634a
4 changed files with 8 additions and 1 deletions

View File

@@ -597,6 +597,8 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
}
}
doAdvancePlaylist = root[F("np")] | doAdvancePlaylist; //advances to next preset in playlist when true
stateUpdated(callMode);
if (presetToRestore) currentPreset = presetToRestore;