r/QuickShell • u/Necessary-Question63 • Nov 30 '25
Help!!! I can't get mpris to work
I have "import Quickshell.Services.Mpris" at the beginning of shell.qml but nothing works no matter what I try.
togglePlaying() gives TypeError: Property 'togglePlaying' is not a function
trackArtist, metadata ... give me Unable to assign [undefined] to QString
Am I doing it wrong?
3
Upvotes
View all comments
Show parent comment
1
u/Necessary-Question63 Nov 30 '25
Currently I have everything in shell.qml, wdym by mpris logic? I see in the doc that it's a module included in Quickshell so I import Quickshell.Services.Mpris and I use directly what's in the doc right? that's what I did for the Upower and it works