MPRIS Volume, Position, Seeked

Reply
Highlighted

MPRIS Volume, Position, Seeked

WebFreak001
Newbie

Plan

Premium

Country

Germany

Operating System

ArchLinux

 

My Question or Issue

It would be nice if the standard MPRIS properties at least for volume and position would be populated in DBus. Metadata with a lot of similar information is already reported, so I think this wouldn't be a major issue but it would help integration with the desktop a lot. With that it would probably also be nice if you could populate LoopStatus and Shuffle too.

 

Now it would be double nice if you could even provide support for toggling Shuffle over DBus and seeking using Seek and maybe even SetPosition. Implementing the Seeked Signal would make it even better for people reading from DBus.

 

There have been a few issues like this on the forum already but they haven't gotten any responses and are already all over a year old, so I'm posting this again.

see https://community.spotify.com/t5/Desktop-Linux/MPRIS-properties-Volume-and-Position-are-not-populate...

https://community.spotify.com/t5/Desktop-Linux/MPRIS-support-again-and-again/m-p/4391625

 

Right now my solution to reading this is spamming the Spotify API with a request to get my current playback status every few seconds, which I don't think is a good solution for either party :(

 

I would really love to have this so I could see the playback status in my status bar, on my desktop if I wish to or on devices I control my PC with.

 

Here are the technical specs of these properties and methods:

https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Method:Seek

https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Property:Position

https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Signal:Seeked

SUGGESTED POSTS