MPRIS Implementation flakey

Server Version#: 4.137.1
Player Version#: 4.11.1

Plexamp seems to have partial support for MPRIS since widgets in KDE are able to read song title, album art, pause and skip. However song progress & resume dont seem to work.

Other players such as VLC, Tauon, etc correctly integrate.

Still experiencing this issues in Plexamp version#: 4.11.2

the reason PlayPause is flakey is because Plexamp incorrectly sets CanPause to false when the song is paused (see below, CanPause changing from true to false):
image

If your widget checks for CanPlay && CanPause at the same time to trigger PlayPauseRemote, it will assume that is can’t control the song. Normally, players leave CanPlay and CanPause to true when these functionalities are enabled which is the way the specification intends it to be so it’s a bug:

Note that this is an intrinsic property of the current track: its value should not depend on whether the track is currently paused or playing. In fact, if playback is currently paused (and CanControl is true), this should be true.

is there a way to report bugs over here?

basically, you need to only check CanPlay if the song status is Paused. you should be able to report this to the team developing the widget, they might be willing to implement this work around.

for Gnome users, I’ll be suggesting a fix to work around it for this for this extension shortly: Media Label and Controls (Mpris Label) - GNOME Shell Extensions

when checking the dbus data, Position stays at 0 so that doesn’t appears to be implemented.

1 Like

note that firefox doesn’t have these issues so you can play your music accessing Plex via your web browser and will be able to get the artwork, do play/paused/…

This looks to be exactly what’s happening - also not too sure about the best way to report bugs either. I’ll try to keep this thread active until the issue is resolved.

I’ve reported this here, let’s see what happens:

Position issue here:

If you could leave a comment to confirm the issue on github that would be great.

@elan any comment on this?

sorry, haven’t had a chance to look yet.

Original post +3months

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.