Skip to content

0nse/mopidy-scrobbler

 
 

Repository files navigation

Mopidy-Scrobbler

Latest PyPI version Number of PyPI downloads Travis CI build status Test coverage

Mopidy extension for scrobbling played tracks to Last.fm and Libre.fm.

This extension requires a free user account at Last.fm and/or Libre.fm.

Installation

Install by running:

pip install Mopidy-Scrobbler

Or, if available, install the Debian/Ubuntu package from apt.mopidy.com.

Configuration

The extension is enabled by default when it is installed. You just need to add your Last.fm and/or Libre.fm username and password to your Mopidy configuration file, typically found at ~/.config/mopidy/mopidy.conf:

[scrobbler]
lastfm_username = alice
lastfm_password = secret
librefm_username = bob
librefm_password = anotherSecret

The following configuration values are available:

  • scrobbler/enabled: If the scrobbler extension should be enabled or not.
  • scrobbler/lastfm_username: Your Last.fm username.
  • scrobbler/lastfm_password: Your Last.fm password.
  • scrobbler/librefm_username: Your Libre.fm username.
  • scrobbler/librefm_password: Your Libre.fm password.

Project resources

Changelog

v1.2.0 (2016-02-10)

  • Allow scrobbling to Libre.fm. A session key must be created beforehand. This authentication launches the default Web browser to do so. If Mopidy is run by a user without a default Web browser or without access to the current display session, the URL given in the log output must be opened manually.
  • This version introduces configuration changes. username and password are now lastfm_username, lastfm_password and librefm_username, librefm_password for Last.fm and Libre.fm respectively.

v1.1.2 (2016-01-06)

  • Scrobble only the first given artist instead of a concatenated string of all existing artists to prevent Last.fm from creating bogus artist pages.

v1.1.1 (2014-12-29)

  • Updated to work with None as the default value of track_no in Mopidy's Track model. This was changed in Mopidy 0.19.5. (Fixes: #7)

v1.1.0 (2014-01-20)

  • Updated extension API to match Mopidy 0.18.

v1.0.0 (2013-10-08)

  • Moved extension out of the main Mopidy project.
  • Added test suite.

About

Mopidy extension for scrobbling played tracks to Last.fm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%