SoundMenu integration is finally working!!!
Please have a look at the attached screenshot. There is support for
- control actions like play/pause and next/previous
- Metadata and album covers
- putting the app window into foreground
I think that is also everything that libindicate soundmenu can do.
The construction of the mpris v2 interface was not possible with
dbus-glib, so I had to move to GDBus.
A good thing (or less worse) is that the build of GDBus dependent
plugins can coexist with dbus-glib plugins.
Bad thing is that soundmenu and mpris are depending on GDBus, which is
only available for glib/gio version 2.26 or higher. Therefore, in Ubuntu
Lucid or other distributions using older versions of glib the soundmenu
integration and the mpris dbus interface will not be available.
Big thanks goes to Conor and Faheem for pointing me into the right
If you want to test the code, check out the soundmenu branch!