Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.85 KB

README.mkd

File metadata and controls

68 lines (50 loc) · 1.85 KB

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:

  • Mark a track as favorite
  • Skip a track
  • Delete a track
  • Douban covers support, fast retrieve album art from Douban.com
  • Share music and album to douban.com, t.sina.com.cn, kaixin001 and renren.com
  • Switch between channels

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