fix mpris errors and create player selector

This commit is contained in:
Benjamin Palko 2025-08-31 15:48:14 -04:00
parent dddbb82984
commit 2d6cb05015
4 changed files with 105 additions and 93 deletions

View file

@ -8,7 +8,7 @@ Singleton {
id: root
property list<MprisPlayer> players: Mpris.players.values
property MprisPlayer active: players[properties.currentIndex]
property MprisPlayer active: players[properties.currentIndex] ?? null
PersistentProperties {
id: properties