2004-03-24 01:42:03 +01:00
|
|
|
# MPD CONFIG FILE
|
|
|
|
# For a full description of all config parameters,
|
|
|
|
# Check the mpd man page, "man mpd".
|
|
|
|
|
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
########## REQUIRED ###############
|
2004-06-02 03:48:26 +02:00
|
|
|
port "6600"
|
2004-03-24 01:48:19 +01:00
|
|
|
music_directory "~/music"
|
2004-03-24 01:58:47 +01:00
|
|
|
playlist_directory "~/.mpd/playlists"
|
|
|
|
log_file "~/.mpd/mpd.log"
|
|
|
|
error_file "~/.mpd/mpd.error"
|
2004-03-24 01:37:54 +01:00
|
|
|
###################################
|
2004-02-24 00:41:20 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
|
|
|
|
###################################
|
|
|
|
# EVERYTHING ELSE IS OPTIONAL
|
|
|
|
###################################
|
|
|
|
|
|
|
|
|
|
|
|
######### FILESYSTEM SETTINGS ###########
|
|
|
|
# If filenames or directory names don't
|
2004-03-24 02:06:28 +01:00
|
|
|
# display correctly, set the character
|
|
|
|
# set (encoding) for the filesystem
|
|
|
|
# here. The fileystem encoding is
|
2004-03-24 01:37:54 +01:00
|
|
|
# typically "ISO-8859-1" or "UTF-8".
|
|
|
|
# After changing fileystem_charset,
|
|
|
|
# recreate the db: mpd --create-db
|
|
|
|
#filesystem_charset "ISO-8859-1"
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
|
|
|
|
########### OPTIONAL FILES ##############
|
|
|
|
# Location of DB file
|
2004-03-24 01:58:47 +01:00
|
|
|
#db_file "~/.mpd/mpddb"
|
2004-03-24 01:37:54 +01:00
|
|
|
#
|
|
|
|
# State file for storing state of mpd
|
|
|
|
# when it is shutdown. MPD will restore
|
|
|
|
# the state (i.e. load playlist, start
|
|
|
|
# playing, etc) upon restart.
|
2004-03-24 01:58:47 +01:00
|
|
|
#state_file "~/.mpd/mpdstate"
|
2004-03-24 01:37:54 +01:00
|
|
|
##########################################
|
|
|
|
|
|
|
|
|
|
|
|
######### VOLUME MIXER ############
|
|
|
|
# for OSS Mixer
|
|
|
|
#mixer_type "oss"
|
|
|
|
#mixer_device "/dev/mixer"
|
2004-02-24 00:41:20 +01:00
|
|
|
#mixer_control "Pcm"
|
2004-03-24 01:37:54 +01:00
|
|
|
|
|
|
|
# for Alsa Mixer
|
2004-02-24 00:41:20 +01:00
|
|
|
#mixer_type "alsa"
|
|
|
|
#mixer_device "default"
|
|
|
|
#mixer_control "PCM"
|
2004-03-24 01:37:54 +01:00
|
|
|
|
|
|
|
# for Software Mixer
|
|
|
|
#mixer_type "software"
|
|
|
|
##################################
|
|
|
|
|
|
|
|
|
|
|
|
######### AUDIO OUTPUT ###########
|
|
|
|
# for OSS Audio Output
|
2004-02-24 00:41:20 +01:00
|
|
|
#ao_driver "oss"
|
|
|
|
#ao_driver_options "dsp=/dev/dsp"
|
2004-03-24 01:37:54 +01:00
|
|
|
|
|
|
|
# for ALSA Audio Output
|
|
|
|
#ao_driver "alsa09"
|
|
|
|
#ao_driver_options "dev=hw:0,0"
|
|
|
|
|
|
|
|
# misc audio output options
|
2004-02-24 17:38:46 +01:00
|
|
|
#audio_write_size "1024"
|
2004-06-12 23:27:15 +02:00
|
|
|
# use track or album replaygain
|
|
|
|
#replaygain "album"
|
2004-03-24 01:37:54 +01:00
|
|
|
##################################
|
|
|
|
|
2004-03-24 01:42:47 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
#### OUTPUT BUFFER SETTINGS ######
|
2004-06-12 23:27:15 +02:00
|
|
|
#audio_buffer_size "2048"
|
2004-03-24 01:37:54 +01:00
|
|
|
#buffer_before_play "25%"
|
|
|
|
##################################
|
|
|
|
|
2004-03-24 01:42:47 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
########### SECURITY SETTINGS ############
|
2004-03-24 01:53:55 +01:00
|
|
|
# if you start mpd as root, its recommended
|
2004-03-24 01:39:45 +01:00
|
|
|
# you specify a a user for mpd to run.
|
2004-03-24 01:37:54 +01:00
|
|
|
#user "nobody"
|
2004-03-24 01:45:43 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
# to only allow connections from localhost
|
|
|
|
#bind_to_address "localhost"
|
2004-03-24 01:45:43 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
# Specify one or more passwords required to
|
|
|
|
# access mpd:
|
|
|
|
#password "password1@read,add,control,admin"
|
|
|
|
#password "password2@read"
|
2004-03-24 01:45:43 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
# Specify permissions used by default when no password is
|
|
|
|
# given by for a connection/client.
|
2004-02-24 07:14:16 +01:00
|
|
|
#default_permissions "read,add,control,admin"
|
2004-03-24 01:37:54 +01:00
|
|
|
##########################################
|
|
|
|
|
2004-03-24 01:42:47 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
########### MISC OPTIONS #################
|
2004-04-04 09:08:00 +02:00
|
|
|
#max_playlist_length "16384"
|
2004-03-24 01:37:54 +01:00
|
|
|
#connection_timeout "60"
|
|
|
|
#max_connections "5"
|
|
|
|
#max_command_list_size "2048"
|
|
|
|
#max_output_buffer_size "2048"
|
|
|
|
#save_absolute_paths_in_playlists "no"
|
2004-03-24 01:45:43 +01:00
|
|
|
|
2004-03-24 01:37:54 +01:00
|
|
|
# log_level can be "default", "secure", "verbose"
|
|
|
|
#log_level "default"
|
|
|
|
#########################################
|