sunng87 / exaile-doubanfm-plugin

An alternative choice to enjoy personalized music from douban.fm
40 stars 7 forks source link

Exaile-Plugin-Doubanfm

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.

Intro

There is a minimized view for DoubanFM tracks, you can:

DoubanFM Mode

Install

Follow the Installation Instructions.

Or you can just extract the package to ~/.local/share/exaile/plugins

DBus Interfaces

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

Credits