31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# mpdcron configuration file
|
|
[main]
|
|
# Path to the PID file, by default the PID file is MPDCRON_DIR/mpdcron.pid
|
|
# pidfile = /path/to/mpdcron.pid
|
|
# Wait this many seconds after sending signal to kill the daemon.
|
|
# Default is 3 seconds.
|
|
killwait = 3
|
|
# Logging level, default is 0
|
|
# 0: Warnings and errors only
|
|
# 1: Info and below
|
|
# 2: Debug and below
|
|
loglevel = 0
|
|
[mpd]
|
|
# Semicolon delimited list of events to wait for.
|
|
# By default mpdcron waits for all events.
|
|
# Valid events are:
|
|
# database: Song database has been updated.
|
|
# stored_playlist: A stored playlist has been modified, created,
|
|
# deleted or renamed.
|
|
# playlist: The queue has been modified.
|
|
# player: The player state has been changed: play, stop, pause, seek, ...
|
|
# mixer: The volume has been modified.
|
|
# output: An audio output device has been enabled or disabled.
|
|
# options: Options have changed: crossfade, random, repeat, ...
|
|
# update: A database update has started or finished.
|
|
events = player
|
|
# Interval in seconds to reconnect to mpd after an error or disconnect.
|
|
reconnect = 5
|
|
# Timeout in milliseconds for mpd timeout, 0 for default timeout of
|
|
# libmpdclient.
|
|
timeout = 0 |