Skip to main content

Mopidy extension for recording played tracks as listens to Listenbrainz

Project description

Latest PyPI version CI build status

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).

  • search_schemes_fallback - A list of URI prefixes (e.g., local:) to use to search by artist + track name when importing recommendation playlists, as a fallback when a track isn’t found in the library by MusicBrainz ID. If empty, searches all URI prefixes, but make sure that an added URI should support searching and won’t be rate-limited when importing many tracks at once.

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.3.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

Mopidy_Listenbrainz-0.3.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file mopidy_listenbrainz-0.3.0.tar.gz.

File metadata

  • Download URL: mopidy_listenbrainz-0.3.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.5

File hashes

Hashes for mopidy_listenbrainz-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b86c87540f7246538a4b4f0a6cbeac017dd287ce585f3f9611609b012ff86000
MD5 db7bb0dde79433f563afb77b2b6216b8
BLAKE2b-256 64e1bce6017ead604cbd244c07fb29664e269ca692763a886e6003a910016504

See more details on using hashes here.

File details

Details for the file Mopidy_Listenbrainz-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Mopidy_Listenbrainz-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 143ca64ba471f8ac8daf6f08f2fb6a77219aeb2ad31fe877931eef4a3294ded9
MD5 ccfaf4456ff9864f8f60dc380d8e694e
BLAKE2b-256 1c28d4efeb718e4277e13158c21310a6727e637666778f9edb0b24d465cbf072

See more details on using hashes here.

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