-
-
Save gladstone/46d9a4777cd391e1755d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mpdcron example configuration | |
# vim: set et sw=4 sts=4 tw=80 ft=desktop : | |
# Copy this file to MPDCRON_DIR/mpdcron.conf where MPDCRON_DIR is | |
# ~/.mpdcron by default. | |
# mpdcron related options are specified in the main group | |
[main] | |
# Location of the pid file. | |
# pidfile = /var/run/mpdcron.pid | |
# Wait this many seconds after sending signal to kill the daemon | |
killwait = 3 | |
modules = stats | |
# Mpd related options are specified in the mpd group. | |
[mpd] | |
# The list of events to wait for | |
events = database;stored_playlist;playlist;player;mixer;output;options;update | |
# Inverval in seconds for reconnecting to Mpd. | |
reconnect = 5 | |
# Timeout in milliseconds for Mpd timeout, 0 for default timeout of | |
# libmpdclient. | |
timeout = 0 | |
[stats] | |
# Path to the database, default is MPDCRON_DIR/stats.db where MPDCRON_DIR is | |
# ~/.mpdcron by default. | |
#dbpath = /path/to/database | |
# Semi-colon delimited list of addresses to bind. | |
# By default this module binds on any interface. | |
#bind_to_addresses = localhost;/home/alip/.mpdcron/stats.socket | |
# Port to bind to, default port is 6601 | |
#port = 6601 | |
# Default permissions for accessing the database. | |
# This is a semi-colon delimited list of permissions. | |
# Available permissions are: | |
# select: Allows the client to do a select on the database. | |
# update: Allows the client to do updates on the database. | |
# The default is select;update | |
#default_permissions = select;update | |
# Passwords to access the database. | |
# This is a semi-colon delimited list of passwords in the form | |
# password@permission. | |
passwords = needvodka@update;needbeer@select |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment