diff --git a/services/Mpris.qml b/services/Mpris.qml index 585bbd0..2abc69d 100644 --- a/services/Mpris.qml +++ b/services/Mpris.qml @@ -16,6 +16,12 @@ Singleton { property int currentIndex: 0 } + onPlayersChanged: { + if (!active) { + properties.currentIndex = 0; + } + } + function nextPlayer() { if (players.length == 0) { return;