SpotPRIS2
SpotPRIS2 copied to clipboard
Control Spotify Connect devices using MPRIS2
When running from console I get ``` HTTP Error for GET to https://api.spotify.com/v1/me/player returned 403 due to error http status: 403, code:-1 - https://api.spotify.com/v1/me/player: error, reason: None ``` How do...
Thank you for creating this. Installed it on neon 5.20.3 and it works perfectly. However the kde media player status bar plugin defaults to the spotify application and I was...
Just installed as instructed on fedora 33 with pip. After entering the client id and client secret I'm given the message: > Couldn't read cache at: ~/.cache/spotpris2 In the terminal....
Set up as described in the extra help. After setup: dbus-send --print-reply --type=method_call --dest=org.mpris.MediaPlayer2.spotpris.device5d81cefb30a5337f5dcd7af052f3a1b0fc1935c3 /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:org.mpris.MediaPlayer2.Player string:Volume Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotpris.device5d81cefb30a5337f5dcd7af052f3a1b0fc1935c3 was not provided by any .service files
Awesome tool! Thanks so much, unlocked me from controlling Spotify volume via i3 shortcuts. I feel the README doesn't provide much hints into how to leverage this MPRIS interface though....
When assigning volume to say '0.14' if I read the value afterwards it's 0.11. I've seen several weird behaviors in this sense. Do you have an idea about the explanation...
Documented here: https://specifications.freedesktop.org/mpris-spec/latest/Track_List_Interface.html
spotpris2 has a memory leak somewhere. I caught it using 2GB of memory. ~~I'd guess that the dbus buses don't get automatically cleaned up if they are no longer used...
Documented here: https://specifications.freedesktop.org/mpris-spec/latest/Playlists_Interface.html