DOKK / manpages / debian 12 / mpdscribble / mpdscribble.1.en
mpdscribble(1) User Manuals mpdscribble(1)

mpdscribble - A Music Player Daemon (MPD) client which submits information about tracks being played to a scrobbler (e.g. last.fm).

mpdscribble [options]

mpdscribble is a client for MPD, the Music Player Daemon. mpdscribble connects to an MPD running on the local network and works in parallel with other MPD clients on the network.

By default it will get the hostname and port for mpd from the MPD_HOST and MPD_PORT environment variables. mpdscribble will use localhost:6600 if those are not set. The hostname and port can also be specified in the configuration file or on the command line.

$ mpdscribble --host myhost --port=12345

Values specified on the command line override values from the configuration file or environment variables.

If you want to use mpdscribble with a password-protected MPD, set the environment variable MPD_HOST to password@host, or specify the host in the configuration file similarly.

On submission failure, mpdscribble waits for some time then retries. Sending a USR1 signal to a running mpdscribble process makes it submit immediately.

Display help and exit.
Display version information and exit.
Don't daemonize mpdscribble, run it in foreground.
Write the process id to this file.
Change to this system user after daemonization.
Specify log file. The special value "syslog" makes mpdscribble use the local syslog daemon (which is the default). "-" means log to stderr.
Read configuration options from file. /etc/mpdscribble.conf is used by default (if --sysconfdir=/etc).
Specify host protected by password. To connect via Unix Domain Socket, specify an absolute path here.
Specify which port the MPD listens on.
HTTP proxy URL.
Specify how verbosely mpdscribble should log. Possible values are 0 to 3, defaulting to 1.

mpdscribble looks for its configuration file in the following order: $XDG_CONFIG_HOME/mpdscribble/mpdscribble.conf, ~/.config/mpdscribble/mpdscribble.conf, ~/.mpdscribble/mpdscribble.conf, /etc/mpdscribble.conf (if --sysconfdir=/etc) but this can be overridden by specifying an alternate configuration file using the command line option --conf.

Supported configuration options:

Write the process id to this file.
The file to which mpdscribble should output debugging information. The special value "syslog" makes mpdscribble use the local syslog daemon (which is the default). "-" means log to stderr.
The host running MPD, possibly protected by a password. To connect via Unix Domain Socket, specify an absolute path here.
The port that the MPD listens on and mpdscribble should try to connect to.
HTTP proxy URL.
How verbose mpdscribble's logging should be. Default is 1. "0" means log only critical errors (e.g. "out of memory"); "1" also logs non-critical errors (e.g. "server unreachable"); "2" logs informational messages (e.g. "new song"); "3" prints a lot of debugging messages.

These options are followed by at least one scrobbler section (choose a unique section name like "libre.fm" which only appears in the log file; the name "mpdscribble" is reserved).

Log to a file instead of submitting the songs to an AudioScrobbler server.
The handshake URL of the scrobbler. Example: "https://post.audioscrobbler.com/", "http://turtle.libre.fm/"
Your audioscrobbler username.
Your Last.fm password, either cleartext or its MD5 sum.
The file where mpdscribble should store its journal in case you do not have a connection to the scrobbler. This option used to be called "cache". It is optional.

/etc/mpdscribble.conf

The system wide configuration file.

~/.config/mpdscribble/mpdscribble.conf

Per user configuration file.

/var/cache/mpdscribble/mpdscribble.cache

The system wide Last.fm cache file.

~/.cache/mpdscribble/mpdscribble.cache

Per user Last.fm cache file.

/var/log/mpdscribble/mpdscribble.log

The system wide log file.

File permissions on cache/log file may be insecure by default.

Please report new bugs to the MPD bug tracker: http://www.musicpd.org/mantis

mpd(1), mpc(1)

JANUARY 2009 Linux