fix mpris errors and create player selector
This commit is contained in:
parent
dddbb82984
commit
2d6cb05015
4 changed files with 105 additions and 93 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue