Skip to main content
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).

  • listenbrainz/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. The default value is "local:". Make sure that any added URI supports searching and won’t be rate-limited when importing many tracks at once.

Project resources

Credits

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mopidy_listenbrainz-0.4.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mopidy_listenbrainz-0.4.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mopidy_listenbrainz-0.4.1.tar.gz
Algorithm Hash digest
SHA256 deefea8131f668469ddb24bdabeeb03b4b6ca97232fa12248363f88d14b05da4
MD5 5b6188eb7a659834e35d80dbe7f51ac1
BLAKE2b-256 b7cab10a11ccb7807b325aca5a673d26d8c6fadc99aa40570a7506703c7055ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for mopidy_listenbrainz-0.4.1.tar.gz:

Publisher: release.yml on suaviloquence/mopidy-listenbrainz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mopidy_listenbrainz-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mopidy_listenbrainz-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57bdb09a1d1398e19c6bd9e97d0716ad504500b3c10bab0606d40216a3e4ae12
MD5 5b1a9cb2f94d740ad6e4f87a71ac030b
BLAKE2b-256 9b4532d21c77c8fb41837b1ecebb0410cb4bb7464929f52b3ba3778cb6e6e5c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mopidy_listenbrainz-0.4.1-py3-none-any.whl:

Publisher: release.yml on suaviloquence/mopidy-listenbrainz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page