GNOME Bugzilla – Bug 595684
D-Bus plugin now uses MPRIS API
Last modified: 2011-01-26 15:38:51 UTC
I was modified my Totem D-Bus plugin (http://lucky.awardspace.co.uk/totem-plugins) to use standard MPRIS (http://wiki.xmms2.xmms.se/wiki/Media_Player_Interfaces) API for sending notifications.
I'm getting error when adding attachment, so here is new version - http://lucky.sdf-eu.org/totem/dbus-service-0.3.tar.bz2
Would you be able to provide the updates as a patch for what we currently have on git head? Also, does it cover all of the MPRIS API, or just a subset? Thanks.
Created attachment 143512 [details] [review] D-Bus plugin patch to use MPRIS API
It not covers all of the MPRIS API. Just only notifications of currently-playing files.
Created attachment 144132 [details] [review] Convert D-Bus plugin to use MPRIS API This is an updated patch from myself, which expands the plugin to implement almost all of the MPRIS API. There are a few things it can't implement unless we expose TotemPlaylist in the Python bindings, which can be the subject of another bug. Other than that, everything else in the API is there, which resulted in the expansion of the Python bindings in a few places, as well as some new helper functions in totem.h. Bastien, are you OK with those API additions?
Yes. I can be commited to git. May be need some testing.
This is nice, though this should probably be written in C, and always enabled (just like the media-keys plugin)...
*** Bug 640644 has been marked as a duplicate of this bug. ***