This is the configuration file of the mpris-scrobbler daemon and is used to store the authentication credentials for the services that are enabled. The credentials are stored in plain text, so it's important that the file is not world readable.
The file format supports multiple sections, each of them corresponding to a scrobbling service and which can contain multiple value assignments.
A section is introduced by a line containing the service name enclosed in square brackets, so
would introduce a service called librefm.
A value assignment is a single line that has the name of the value, an equals sign, and a setting for the value, so
enabled = true
would set the value named enabled in the current service section to true. Any spaces preceding and succeeding the name and the value are ignored.
Any line starting with ; is ignored, as is any blank line.
The recognized service labels are:
Used to store configuration settings related to the open listenbrainz.org platform.
Used to store configuration settings related to the open libre.fm platform.
Used to store configuration settings related to the proprietary last.fm platform.
Boolean value used to show if current service is active or not. Value can be 0|1 or enabled|disabled
String value containing the user name of the authenticated session.
String value containing the application token that the current session is authenticated with.
String value containing the application session key that the current user is authenticated with.
String value containing the custom URL for the current service's end-point. The only services that support this option are libre.fm and listenbrainz.org.
[librefm] enabled = true username = <username> token = <oauth-token-value> session = <oauth-session-value> [listenbrainz] enabled = true token = <listenbrainz-auth-token>