update jukebox to play if not running
This commit is contained in:
parent
4536357642
commit
b758e5d454
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user