Merge pull request #4846 from BlueManCZ/fix-mpris-fallback-player

fix(mpris): fall back to next non-ignored player and prefer playing players
This commit is contained in:
Alexis Rouillard
2026-02-23 23:51:04 +01:00
committed by GitHub
2 changed files with 59 additions and 24 deletions

View File

@ -78,6 +78,7 @@ class Mpris : public ALabel {
PlayerctlPlayerManager* manager;
PlayerctlPlayer* player;
PlayerctlPlayer* last_active_player_ = nullptr;
std::string lastStatus;
std::string lastPlayer;