2 # For a full description of all config parameters,
3 # Check the mpd man page, "man mpd".
5 ##################### REQUIRED ###########################
8 playlist_directory "/var/ipfire/mpfire"
9 log_file "/var/log/mpd.log"
10 error_file "/var/log/mpd.error.log"
11 pid_file "/var/run/mpd.pid"
12 ##########################################################
14 ##########################################################
15 # EVERYTHING ELSE IS OPTIONAL
16 ##########################################################
18 #################### OPTIONAL FILES ######################
22 db_file "/var/ipfire/mpfire/db/mpd.db"
24 # The state file (if set) will be a file
25 # for storing all current information
26 # (playlist, playing/paused, etc...) from
27 # the last MPD session. This will be used
28 # to recreate your last MPD session after
31 state_file "/var/ipfire/mpfire/mpd_state"
33 ##########################################################
36 ################### VOLUME MIXER #########################
41 mixer_device "default"
46 #mixer_device "/dev/mixer"
50 #mixer_type "software"
52 ##########################################################
55 ################## AUDIO OUTPUT ##########################
60 device "hw:0,0" # optional
61 format "44100:16:2" # optional
64 # An example of an OSS output:
69 device "/dev/dsp" # optional
70 format "44100:16:2" # optional
73 # An example of a shout output (for streaming to Icecast):
77 name "My Shout Stream"
85 # user "source" # optional
86 # description "My Stream Description" # optional
87 # genre "jazz" # optional
88 # public "no" # optional
91 # Set this if you have problems
92 # playing audio files.
93 # This will resample your music so
94 # that it comes out at the set rate.
96 #audio_output_format "44100:16:2"
98 # You should not need mess with
99 # this value unless you know
102 #audio_write_size "1024"
104 ##########################################################
106 ################# REPLAYGAIN #############################
108 # Use Replay Gain (album or title)
109 # http://www.replaygain.org
113 # Sets the pre-amp used for files that have replaygain
114 # info. Valid values are between -15 to 15 (in dB).
116 #replaygain_preamp "0"
118 ##########################################################
121 ################ OUTPUT BUFFER SETTINGS ##################
123 # You should not need to mess with this
124 # unless you know what you're doing.
126 audio_buffer_size "2048"
128 # This means exactly what it says, it will
129 # buffer your file up to the percentage of
130 # the buffer before it begins playing.
132 buffer_before_play "25%"
134 ##########################################################
137 ################### HTTP PROXY ###########################
139 # http_proxy_host "proxy.isp.com"
140 # http_proxy_port "8080"
141 # http_proxy_user "user"
142 # http_proxy_password "password"
144 ##########################################################
147 ################# SECURITY SETTINGS ######################
149 # It is encouraged to run MPD as
150 # non-superuser. If you start mpd as root
151 # (for example, in an init script), set
152 # this value, then mpd will drop root priveleges
153 # and runs as the user specified.
157 # Set this value if you only have one
158 # address you want to allow connection to.
160 bind_to_address "localhost"
162 # If you want to setup MPD to use
163 # passwords set them here
165 #password "password1@read,add,control,admin"
166 #password "password2@read"
168 # Specify permissions used by default when no password is
169 # given by for a connection/client.
171 #default_permissions "read,add,control,admin"
173 ##########################################
176 ################ MISCELLANEOUS OPTIONS ###################
178 # This setting exists as precaution against attacks.
180 #max_playlist_length "16384"
182 # Valid options are "default", "secure" or "verbose".
185 connection_timeout "60"
187 # This should be fine for 2-3 people using clients
192 # No need to change these unless you know better.
194 #max_command_list_size "2048"
195 #max_output_buffer_size "2048"
197 # This will make playlists compatible with normal music
200 #save_absolute_paths_in_playlists "no"
202 ##########################################################
204 ###################### CHARACTER ENCODINGS #####################
206 # If file or directory names do not display correctly, then you
207 # may need to change this. In most cases it should be either
208 # "ISO-8859-1" or "UTF-8". You must recreate your database
209 # after changing this (use mpd --create-db).
211 filesystem_charset "UTF-8"
213 # The encoding that ID3v1 tags should be converted from.
215 id3v1_encoding "UTF-8"
216 metadata_to_use "artist,album,title,track,name,comment,date,genre"
218 ################################################################