Commit 39ec2aec authored by Ronald van Engelen's avatar Ronald van Engelen

Merge branch 'confsnippets'

parents a0443821 cfeddd91
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
auto_update "yes"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
auto_update "yes"
replaygain "off"
mixer_type "none"
max_playlist_length "16777216"
bind_to_address "${CONF_MPD_HOST}"
## port to bind to.
# port "6600"
## close connection to inactive clients after number of seconds.
# connection_timeout "60"
## maximum number of clients connected at the same time.
# max_connections "5"
## mpd configuration snippet for mpd-configure
## alsa audio output section
audio_output {
## fixed to alsa: important for bit-perfect playback
type "alsa"
## name gets filled from script
name "${CONF_ALSA_AIF_DEVLABEL}"
## hardware address of interface device gets filled from
## script
device "${CONF_ALSA_AIF_HWADDRESS}"
## no resampling or reformatting: important for bit-perfect
## playback
auto_resample "no"
auto_format "no"
}
music_directory "${CONF_MPD_MUSICDIR}"
playlist_directory "${CONF_MPD_PLAYLISTDIR}"
db_file "${CONF_MPD_DBFILE}"
log_file "${CONF_MPD_LOGFILE}"
pid_file "${CONF_MPD_PIDFILE}"
state_file "${CONF_MPD_STATEFILE}"
## username of a spotify account
despotify_user "USERNAME"
## password for despotify_user
despotify_password "PASSWORD"
## requested highest bitrates for spotify
# despotify_high_bitrate "yes"
playlist_plugin {
name "lastfm"
user "${CONF_LASTFM_USERNAME}"
password "${CONF_LASTFM_PASSWORD}"
}
## enable tcp keepalive on new client connections.
# tcp_keep_alive "no"
## time in seconds since last communication before keepalive probing is started.
# tcp_keep_alive_idle "7200"
## time in seconds between keepalive probes.
#tcp_keep_alive_interval "75"
## number of failed probes before the connection is pronounced dead.
#tcp_keep_alive_count "9"
## start zeroconf section
zeroconf_enabled "yes"
zeroconf_name "${CONF_ZEROCONF_LABEL}"
## end zeroconf section
../confs-available/output-audio-alsa.conf
\ No newline at end of file
../confs-available/paths.conf
\ No newline at end of file
../confs-available/general.conf
\ No newline at end of file
../confs-available/network.conf
\ No newline at end of file
../confs-available/plugin-playlist-lastfm.conf
\ No newline at end of file
This diff is collapsed.
......@@ -3,35 +3,39 @@
## see README for documentation including default values
##
## paths: examples are according to Debian guidelines
#MPD_MUSICDIR="/srv/media/music"
#MPD_CONFFILE="/etc/mpd.conf"
#MPD_USERHOMEDIR="/var/lib/mpd"
#MPD_LOGFILE="/var/log/mpd.log"
#MPD_PIDFILE="/var/run/mpd.pid"
#MPD_STATEFILE="/var/cache/mpd.state"
## troubleshooting
#DEBUG=1
#DRYRUN=1
## Defaults to not include commented lines and empty lines from
## configuration snippets, uncomment to include them
#INCLUDE_COMMENTS=True
## limit the number of interfaces used: example limits to USB Audio
## Class devices
#LIMIT_INTERFACE_TYPE="digital"
#LIMIT_INTERFACE_FILTER="USB Audio"
## paths: examples are according to Debian guidelines
#CONF_MPD_MUSICDIR="/srv/media/music"
#CONF_MPD_CONFFILE="/etc/mpd.conf"
#CONF_MPD_USERHOMEDIR="/var/lib/mpd"
#CONF_MPD_LOGFILE="/var/log/mpd.log"
#CONF_MPD_PIDFILE="/var/run/mpd.pid"
#CONF_MPD_STATEFILE="/var/cache/mpd.state"
## network settings: example uses the hostname like returned by
## `hostname`
#MPD_HOST="$(hostname)"
CONF_MPD_HOST="$(hostname)"
## enable zeroconf
#ENABLE_ZEROCONF=1
## when zeroconf is enabled (and the name commented out or empty), the
## script by default uses `MPD through ${ALSA_AIF_DEVLABEL}' as the
## name for the published service.
#ZEROCONF_NAME="Music Player Daemon"
#CONF_ZEROCONF_NAME="Music Player Daemon"
## last fm scrobbler
#ENABLE_LASTFM=1
#LASTFM_USERNAME="someusername"
#LASTFM_PASSWORD="pasSW0rd"
ENABLE_LASTFM=1
CONF_LASTFM_USERNAME="someusername"
CONF_LASTFM_PASSWORD="pasSW0rd"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment