Add Playlist feature

This commit is contained in:
cschwinne 2020-11-11 23:48:14 +01:00
parent e28dbb3b93
commit 3425f2bf34
6 changed files with 119 additions and 1 deletions

View file

@ -255,6 +255,11 @@ bool deserializeState(JsonObject root)
}
}
JsonObject playlist = root[F("playlist")];
if (!playlist.isNull()) {
loadPlaylist(playlist); return stateResponse;
}
colorUpdated(noNotification ? NOTIFIER_CALL_MODE_NO_NOTIFY : NOTIFIER_CALL_MODE_DIRECT_CHANGE);
return stateResponse;