enlightenment/src/modules/music-control
Davide Andreoli 771c352281 music-control: do not request props if the service is not up.
This prevent music player that support the dbus activation system
to be launched at module startup. Instead of blindly request properties
first check if the name has an owner.

As a side effect now the module fully support the dbus activation system:
if your player is not running it will be launched when you click his
name or any of the controls in the popup.

Note: If your player does not provide the autorun feature you can just
create a .service file in dbus share folder with the following content:

[D-BUS Service]
Name=org.mpris.MediaPlayer2.quodlibet
Exec=/usr/bin/quodlibet

...of course you must change the name of your player ;)
2013-11-11 23:40:27 +01:00
..
gen fix possible memleak when failing to fetch music-player seek dbus args 2013-05-20 11:16:07 +01:00
e-module-music-control.edj e: Show icon of music-control module 2013-01-04 16:45:39 +00:00
e_mod_main.c music-control: do not request props if the service is not up. 2013-11-11 23:40:27 +01:00
e_mod_main.h e/music-control: Add gadget GUI 2013-01-02 13:19:49 +00:00
module.desktop.in Revert "updating desktop files" 2013-09-04 04:11:13 +04:00
private.h music_control: add metadata (title, artist and album) and the cover image to the popup 2013-10-28 22:55:10 +01:00
ui.c music-control: let the popup automatically delete the cover image. 2013-11-02 23:09:38 +01:00