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

  • 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

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.4.0.tar.gz (14.6 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.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mopidy_listenbrainz-0.4.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mopidy_listenbrainz-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8a77b173449d581bc6630e60ae12bd723a08d4312bb0ff5add1d92433b2bf1cd
MD5 d62277c495936a815d3b86708bfc5d8f
BLAKE2b-256 601c353231710978dfeb6310f2cdac971703191fc0f1239ad01f96249b8d597d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mopidy_listenbrainz-0.4.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mopidy_listenbrainz-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21d4fe21c3f59dd44d6f08f3c8ca8bb2c809787686097b9dcf298fbc2b4f14ee
MD5 5ddfa79c7a3d86ee0516dc19865a2a44
BLAKE2b-256 a25798624a80c4fe4e5b43b7623119db46592b70e247444df0b3fbadd9701a80

See more details on using hashes here.

Provenance

The following attestation bundles were made for mopidy_listenbrainz-0.4.0-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.

Supported by

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