From 381ceaa6422fce08f8946196e2cf4de1f4c281a5 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sat, 18 Apr 2026 13:20:52 +0200 Subject: [PATCH] always switch to newly playing mpris session --- shell/services/MprisService.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/services/MprisService.qml b/shell/services/MprisService.qml index b33ca06..5c3ea0a 100644 --- a/shell/services/MprisService.qml +++ b/shell/services/MprisService.qml @@ -89,8 +89,8 @@ QtObject { times[identity] = Date.now(); _lastPlayedTime = times; - // If current player is not playing, switch to this one - if (player !== p && player?.playbackState !== MprisPlaybackState.Playing) { + // Always switch to the newly playing player + if (player !== p) { const idx = players.indexOf(p); if (idx >= 0) { playerIdx = idx;