Exaile doubanfm plugin is a desktop client for the online music service, Douban radio. It provides full functionality of douban radio service, and linux desktop integration.
There is a minimized view for DoubanFM tracks, you can:
Follow the Installation Instructions.
Or you can just extract the package to ~/.local/share/exaile/plugins
Exaile doubanfm exposes dbus interfaces to allow control from external.
Dbus introspection:
$ gdbus introspect --session --dest info.sunng.ExaileDoubanfm.instance --object-path /info/sunng/ExaileDoubanfm
node /info/sunng/ExaileDoubanfm {
interface org.freedesktop.DBus.Introspectable {
methods:
Introspect(out s arg_0);
signals:
properties:
};
interface info.sunng.ExaileDoubanfm {
methods:
Unfavorite();
Skip();
Favorite();
Delete();
ToggleFavorite();
signals:
StatusChanged(a{sv} updated);
properties:
};
};
If you use dbus-send
, you can refer this:
dbus-send --session --dest=info.sunng.ExaileDoubanfm.instance \
--print-reply /info/sunng/ExaileDoubanfm \
info.sunng.ExaileDoubanfm.Favorite