[squeezebox] Fix notification sometimes plays last playlist item first (#16368)

Fixes #16367

Signed-off-by: Stefan Triller <github@stefantriller.de>
This commit is contained in:
Stefan Triller 2024-02-04 20:22:23 +01:00 committed by Jacob Laursen
parent ce0799b60c
commit 7c05e8f585

View File

@ -77,10 +77,6 @@ class SqueezeBoxNotificationPlayer implements Closeable {
private void setupPlayerForNotification() throws InterruptedException, SqueezeBoxTimeoutException {
logger.debug("Setting up player for notification");
if (!playerState.isPoweredOn()) {
logger.debug("Powering on the player");
squeezeBoxServerHandler.powerOn(mac);
}
if (playerState.isShuffling()) {
logger.debug("Turning off shuffle");
squeezeBoxServerHandler.setShuffleMode(mac, 0);