]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mpd] Update current song on player events (#8818)
authorboc-tothefuture <boc@us.ibm.com>
Sat, 24 Oct 2020 07:52:26 +0000 (03:52 -0400)
committerGitHub <noreply@github.com>
Sat, 24 Oct 2020 07:52:26 +0000 (09:52 +0200)
This fixes #8817

Signed-off-by: Brian O'Connell <broconne@gmail.com>
bundles/org.openhab.binding.mpd/src/main/java/org/openhab/binding/mpd/internal/protocol/MPDConnection.java

index 71a5c5a4d7fe64d1a8c7ea30b5e22b45b08f976a..ddaa8b818025aecf684e471b5196be043af7e18c 100644 (file)
@@ -193,6 +193,7 @@ public class MPDConnection implements MPDResponseListener {
                 switch (line) {
                     case "player":
                         updateStatus = true;
+                        updateCurrentSong = true;
                         break;
                     case "mixer":
                         updateStatus = true;