Comment 20 for bug 588858

Revision history for this message
Ciaran Liedeman (ciaran-liedeman) wrote :

I implemented the minimum requirements to be MPRIS compliant, just the org.mpris.MediaPlayer2 and org.mpris.MediaPlayer2.Player interfaces. I might have skipped one or two functions like rate and playback rate.

The basic functions work quite well, I've been using it for the past month or so but I don't think the code is good enough yet.
There are still quite a few hacks in some areas i.e. adjusting the volume and album album art file location.
Also adding the other interfaces would be difficult with the current queue api.

After looking at Rick's I've already seen a few ways to improve it but don't have the time right now, this would be mostly changing alot of the variables to use the property wrapper and testing the methods properly.

For now here is a minimal plugin using Rick's code: pause next raise etc. all work but album art is not implemented.