Skip to main content

Listenbrainz

Other Users
  • To monitor and re-scrobble activity from a Listenbrainz account create a Listenbrainz (Source)
  • To accept scrobbles from outside applications as if multi-scrobbler was a Listenbrainz server, create a Listenbrainz (Endpoint)

You will need to run your own Listenbrainz server or have an account on the official instance

On your profile page find your User Token to use in the configuration.

Configuration​

Scrobbling Device Data

Many Sources report device identifiers with their listening data which can be included in the scrobble data for this client.

However, Multi-Scrobbler does not include this information in scrobble data because it can contain Personally Identifiable Information (PII).

You can opt-in to including this data by defining an explicit list of identifiers that are matched against real device idenitifiers that are then used instead of the real identifier, when scrobbling.

You define a list of matching strings with optional labels. The most-specific matched-string to a real device identifier gets picked and then it, or it's label, is used as the device identifier in the scrobble data.

Examples and Configuration

In each of the examples configurations below, the resulting behavior for device identifier reporting is...

  • Any device with the string iphone in it will be reported as only iphone
  • A device with the string smithFamily-roku will be reported as familyRoku
  • Any other device with the string roku in it will be reported as roku

Define a comma-delimited list of match:label entries to the env LZ_ALLOW_DEVICE_LIST


services:
multi-scrobbler:
# ...
environment:
# ...
- LZ_ALLOW_DEVICE_LIST=iphone,roku,smithFamily-roku:familyRoku
Configuration Type

This is configuration for the ENV Config Type.

Environmental VariableTypeDefaultDescription
LZ_IDstringA globally unique ID EX myComponentId
LZ_NAMEstringValue of LZ_IDA vanity name EX My Cool Component
LZ_ENABLEbooleantrueShould this component be used?
LZ_URLstringhttps://api.listenbrainz.org/URL for the ListenBrainz server, if not using the default
LZ_TOKENstringUser token for the user to scrobble for
LZ_USERstringUsername of the user to scrobble for
LZ_CONTACTstring(If running a forked version of multi-scrobbler) A website or email Listenbrainz can contact you at in case of issues
LZ_ALLOW_DEVICE_LISTstringA comma-delimited list of match:label entries to use as media_play in scrobble submit data, when none is present.

Bold/Italic = Required