Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An alternative choice to enjoy personalized music from douban.fm
Python

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
PLUGININFO
README.mkd
__init__.py
captcha.ui
captcha_dialog.py
dbfm_pref.py
dbfm_pref.ui
doubanfm_cover.py
doubanfm_dbus.py
doubanfm_mode.py
doubanfm_mode.ui
libdoubanfm-test.py
libdoubanfm.py

README.mkd

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

Something went wrong with that request. Please try again.