1 # An example configuration file for MPD
2 # See the mpd.conf man page for a more detailed description of each parameter.
4 ######################## REQUIRED PATHS ########################
5 # You can put symlinks in here, if you like. Make sure that
6 # the user that mpd runs as (see the 'user' config parameter)
7 # can read the files in this directory.
8 music_directory "/home/mixer/music"
9 playlist_directory "/home/mixer/.mpd/playlists"
10 db_file "/home/mixer/.mpd/tag_cache"
11 log_file "/home/mixer/.mpd/mpd.log"
12 error_file "/home/mixer/.mpd/errors.log"
13 ################################################################
16 ######################## OPTIONAL PATHS ########################
18 # If you wish to use mpd --kill to stop MPD, then you must
19 # specify a file here in which to store MPD's process ID.
21 pid_file "/var/run/mpd/pid"
23 # If specified, MPD will save its current state (playlist,
24 # current song, playing/paused, etc.) at exit. This will be
25 # used to restore the session the next time it is run.
27 state_file "/var/lib/mpd/state"
29 ################################################################
32 ######################## DAEMON OPTIONS ########################
34 # If started as root, MPD will drop root privileges and run as
35 # this user instead. Otherwise, MPD will run as the user it was
36 # started by. If left unspecified, MPD will not drop root
37 # privileges at all (not recommended).
41 # The address and port to listen on.
43 bind_to_address "localhost"
46 # If the address is a path, then a UNIX domain socket will be
47 # created instead of listening on a TCP port.
49 #bind_to_address "/var/run/mpd/sock"
51 # Controls the amount of information that is logged. Can be
52 # "default", "secure", or "verbose".
56 ################################################################
59 ########################### ZEROCONF ###########################
61 # If yes, service information will be published with Zeroconf.
63 #zeroconf_enabled "yes"
65 # The service name to publish. This name should be unique on
68 #zeroconf_name "Music Player"
70 ################################################################
73 ########################## PERMISSIONS #########################
75 # MPD can require that users specify a password before using it.
76 # You may specify one ore more here, along with what users who
77 # log in with that password are allowed to do.
79 #password "password@read,add,control,admin"
81 # Specifies what permissions a user who has not logged in with a
82 # password has. By default, all users have full access to MPD
83 # if no password is specified above, or no access if one or
84 # more passwords are specified.
86 #default_permissions "read,add,control,admin"
88 ################################################################
91 ########################## AUDIO OUTPUT ########################
93 # MPD supports many audio output types, as well as playing
94 # through multiple audio outputs at the same time. You can
95 # specify one or more here. If you don't specify any, MPD will
96 # automatically scan for a usable audio output.
98 # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs>
99 # for examples of other audio outputs.
101 # An example of an ALSA output:
105 # name "My ALSA Device"
106 # device "hw:0,0" # optional
107 # format "44100:16:2" # optional
110 # An example of an OSS output:
114 # name "My OSS Device"
115 # device "/dev/dsp" # optional
116 # format "44100:16:2" # optional
119 # An example of a shout output (for streaming to Icecast):
123 # encoding "ogg" # optional
124 # name "My Shout Stream"
131 # format "44100:16:1"
132 # user "source" # optional
133 # description "My Stream Description" # optional
134 # genre "jazz" # optional
135 # public "no" # optional
136 # timeout "2" # optional
139 # An example of a null output (for no audio output):
143 # name "My Null Output"
146 # Force all decoded audio to be converted to this format before
147 # being passed to the audio outputs.
151 name "My Pulse Output"
154 audio_output_format "44100:16:2"
156 # If MPD has been compiled with libsamplerate support, this
157 # specifies the sample rate converter to use. Possible
158 # values can be found in the mpd.conf man page or the
159 # libsamplerate documentation.
161 #samplerate_converter "Fastest Sinc Interpolator"
163 ################################################################
166 ############################# MIXER ############################
168 # MPD needs to know what mixer settings to change when you
169 # adjust the volume. If you don't specify one here, MPD will
170 # pick one based on which ones it was compiled with support for.
172 # An example for controlling an ALSA mixer:
175 #mixer_device "default"
178 # An example for controlling an OSS mixer:
181 #mixer_device "/dev/mixer"
184 # If you want MPD to adjust the volume of audio sent to the
185 # audio outputs, you can tell it to use the software mixer:
187 #mixer_type "software"
189 ################################################################
192 ######################### NORMALIZATION ########################
194 # Specifies the type of ReplayGain to use. Can be "album" or
195 # "track". ReplayGain will not be used if not specified. See
196 # <http://www.replaygain.org> for more details.
200 # Sets the pre-amp used for files that have ReplayGain tags.
202 #replaygain_preamp "0"
204 # Enable on the fly volume normalization. This will cause the
205 # volume of all songs played to be adjusted so that they sound
206 # as though they are of equal loudness.
208 #volume_normalization "no"
210 ################################################################
213 ########################### BUFFERING ##########################
215 # The size of the buffer containing decoded audio. You probably
216 # shouldn't change this.
218 #audio_buffer_size "2048"
220 # How much of the buffer to fill before beginning to play.
221 # Increase this if you hear skipping when changing songs.
223 #buffer_before_play "10%"
225 # Similar options for the HTTP stream buffer. If you hear
226 # skipping while playing HTTP streams, you may wish to increase
229 #http_buffer_size "128"
230 #http_prebuffer_size "25%"
232 ################################################################
235 ########################### HTTP PROXY #########################
237 # Specifies the HTTP proxy to use for playing HTTP streams.
239 #http_proxy_host "proxy.isp.com"
240 #http_proxy_port "8080"
241 #http_proxy_user "user"
242 #http_proxy_password "password"
244 ################################################################
247 ############################# LIMITS ###########################
249 # These are various limits to prevent MPD from using too many
250 # resources. You should only change them if they start
251 # restricting your usage of MPD.
253 #connection_timeout "60"
255 #max_playlist_length "16384"
256 #max_command_list_size "2048"
257 #max_output_buffer_size "8192"
259 ################################################################
262 ###################### CHARACTER ENCODINGS #####################
264 # If file or directory names do not display correctly, then you
265 # may need to change this. In most cases it should be either
266 # "ISO-8859-1" or "UTF-8". You must recreate your database
267 # after changing this (use mpd --create-db).
269 filesystem_charset "UTF-8"
271 # The encoding that ID3v1 tags should be converted from.
273 id3v1_encoding "UTF-8"
275 ################################################################
278 ######################### OTHER OPTIONS ########################
280 # Try disabling this if you have MP3s which appear to end
281 # abruptly. If this solves the problem, it is highly
282 # recommended that you fix your MP3s with vbrfix (available from
283 # <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
284 # point you can re-enable support for gapless MP3 playback.
286 #gapless_mp3_playback "yes"
288 # Enable this if you wish to use your MPD created playlists in
289 # other music players.
291 #save_absolute_paths_in_playlists "no"
293 # A list of tag types that MPD will scan for and make available
296 #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
298 ################################################################