update jukebox to play if not running

This commit is contained in:
_Bastler 2022-02-10 12:08:19 +01:00
parent 4536357642
commit b758e5d454

View File

@ -392,6 +392,7 @@ public class JukeboxManager implements SmartInitializingSingleton {
// start playing if not running
if (status == null || !status.isJsonObject()) {
checkDevices();
MultiValueMap<String, String> queryParameters = new LinkedMultiValueMap<String, String>();
queryParameters.add("device_id", config.getDeviceId());
WebClient.RequestBodySpec request = webClient.method(HttpMethod.PUT)