Skip to main content

MPRIS

MPRIS is a standard interface for communicating with Music Players on linux operating systems.

If you run Linux and have a notification tray that shows what media you are listening to, you likely have access to MPRIS.

Notification Tray

multi-scrobbler can listen to this interface and scrobble tracks played by any media player that communicates to the operating system with MPRIS.

Host Setup​

MPRIS communication requires multi-scrobbler to have access to the host's dbus-daemon.

If multi-scrobbler is running as a Local Installation, directly with node/npm, on the same host as MPRIS then no setup is required.

Remote setup is also possible, see the Remote Unix Socket section in the Docker tab.

Configuration​

Configuration Type

This is configuration for the ENV Config Type.

Environmental VariableTypeDefaultDescription
MPRIS_IDstringA globally unique ID EX myComponentId
MPRIS_NAMEstringValue of MPRIS_IDA vanity name EX My Cool Component
MPRIS_ENABLEbooleantrueShould this component be used?
MPRIS_BLACKLISTstringDO NOT scrobble from any players that START WITH values from this comma-delimited list
MPRIS_WHITELISTstringONLY scrobble from any players that START WITH values from this comma-delimited list

Bold/Italic = Required