MPRIS 2 interface support
Audacious currently supports the MPRIS 1 API but is not MPRIS 2 capable.
More desktop applets (MPRIS Applet in GNOME and Xfce, xfce4-soundmenu-plugin in Xfce, Ayatana Sound Menu in Ubuntu) are able to control only players supporting the latest version of the MPRIS standard (like Amarok, Banshee, Clementine, Guayadeque, Pragha, Rhythmbox, Spotify, VLC, xnoise, etc) and are not able to control MPRIS 1 capable players like Audacious.
I think it would make sense to implement an MPRIS 2 interface in Audacious.
#1 Updated by Jacopo Lorenzetti almost 11 years ago
John Lindgren wrote:
MPRIS 2 makes heavy use of the org.freedesktop.DBus.Properties interface, which has a fuller implementation in GDBus than in the older dbus-glib, so MPRIS 2 support should start fresh using GDBus rather than being based on the MPRIS 1 code, which uses dbus-glib.
When MPRIS 2 support is implemented, the old MPRIS 1 code should die. We do not want to have to maintain both.
The org.atheme.audacious interface should be ported to GDBus. Instead of building libaudclient, we should simply install the XML file defining org.atheme.audacious along with the Audacious headers. Instead of linking to libaudclient, audtool should be ported to GDBus and use this XML file.
Obviously all of this will have to wait till after 3.1.
#7 Updated by John Lindgren almost 11 years ago
- Status changed from New to Closed
- Target version set to 3.2
- % Done changed from 0 to 100
Git version has basic MPRIS 2 functionality, enough for Ubuntu sound menu support. Album art is a little thorny because MPRIS 2 insists on having it in a separate file, whereas we often read it embedded in the song files.