Skip to content

Commit 1d3e7c8

Browse files
authored
[squeezebox] Fix notification sometimes plays last playlist item first (openhab#16368)
Fixes openhab#16367 Signed-off-by: Stefan Triller <[email protected]>
1 parent 3fb5e66 commit 1d3e7c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bundles/org.openhab.binding.squeezebox/src/main/java/org/openhab/binding/squeezebox/internal/handler/SqueezeBoxNotificationPlayer.java

-4
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ public void close() {
7777

7878
private void setupPlayerForNotification() throws InterruptedException, SqueezeBoxTimeoutException {
7979
logger.debug("Setting up player for notification");
80-
if (!playerState.isPoweredOn()) {
81-
logger.debug("Powering on the player");
82-
squeezeBoxServerHandler.powerOn(mac);
83-
}
8480
if (playerState.isShuffling()) {
8581
logger.debug("Turning off shuffle");
8682
squeezeBoxServerHandler.setShuffleMode(mac, 0);

0 commit comments

Comments
 (0)