Skip to main content

Mopidy extension for recording played tracks as listens to Listenbrainz

Project description

Latest PyPI version CI build status Test coverage

Mopidy extension for Listenbrainz.

This extension requires a free user account at Listenbrainz.

Installation

Install by running:

sudo python3 -m pip install Mopidy-Listenbrainz

See https://mopidy.com/ext/listenbrainz/ for alternative installation methods.

Configuration

The extension is enabled by default when it is installed. You just need to add your Listenbrainz user token to your Mopidy configuration file:

[listenbrainz]
token = 240420-249429-29449

The following configuration values are available:

  • listenbrainz/enabled: If the extension should be enabled or not. Defaults to enabled.

  • listenbrainz/token: Your Listenbrainz user token

  • listenbrainz/url: The URL of the API of the Listenbrainz instance to record listens to (default: api.listenbrainz.org)

  • listenbrainz/import_playlists: Whether to import Listenbrainz playlists (default: false)

  • listenbrainz/search_schemes: If non empty, the search for tracks in Mopidy’s library is limited to results with the given schemes. The default value is "local:" to search tracks in Mopidy-Local library. It’s recommended to customize the value according to your favorite backend but beware that not all backends support the required track search by musicbrainz_trackid (Mopidy-File, Mopidy-InternetArchive, Mopidy-Podcast, Mopidy-Somafm, Mopidy-Stream don’t support such searches).

Project resources

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mopidy_listenbrainz-0.2.0.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

Mopidy_Listenbrainz-0.2.0-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page