2 # Base configuration file for MPD on PLD-linux
4 # Based on the example configuration file for MPD
5 # See the mpd.conf man page for a more detailed description of each parameter.
7 ######################## REQUIRED PATHS ########################
8 # XXX Is there a better solution to music_directory? IMHO this is computer-specific. (uzsolt)
9 music_directory "/music"
10 playlist_directory "/var/lib/mpd/playlists"
11 db_file "/var/lib/mpd/mpd.db"
12 log_file "/var/log/mpd/mpd.log"
13 error_file "/var/log/mpd/mpd.error"
14 ################################################################
17 ######################## OPTIONAL PATHS ########################
19 # If you wish to use mpd --kill to stop MPD, then you must
20 # specify a file here in which to store MPD's process ID.
22 pid_file "/var/run/mpd/mpd.pid"
24 # If specified, MPD will save its current state (playlist,
25 # current song, playing/paused, etc.) at exit. This will be
26 # used to restore the session the next time it is run.
28 state_file "/var/run/mpd/mpdstate"
30 ################################################################
33 ######################## DAEMON OPTIONS ########################
35 # If started as root, MPD will drop root privileges and run as
36 # this user instead. Otherwise, MPD will run as the user it was
37 # started by. If left unspecified, MPD will not drop root
38 # privileges at all (not recommended).
42 # The address and port to listen on.
44 #bind_to_address "any"
47 # Controls the amount of information that is logged. Can be
48 # "default", "secure", or "verbose".
52 ################################################################
55 ########################### ZEROCONF ###########################
57 # If yes, service information will be published with Zeroconf.
59 #zeroconf_enabled "yes"
61 # The service name to publish. This name should be unique on
64 #zeroconf_name "Music Player"
66 ################################################################
69 ########################## PERMISSIONS #########################
71 # MPD can require that users specify a password before using it.
72 # You may specify one ore more here, along with what users who
73 # log in with that password are allowed to do.
75 #password "password@read,add,control,admin"
77 # Specifies what permissions a user who has not logged in with a
78 # password has. By default, all users have full access to MPD
79 # if no password is specified above, or no access if one or
80 # more passwords are specified.
82 #default_permissions "read,add,control,admin"
84 ################################################################
87 ########################## AUDIO OUTPUT ########################
89 # MPD supports many audio output types, as well as playing
90 # through multiple audio outputs at the same time. You can
91 # specify one or more here. If you don't specify any, MPD will
92 # automatically scan for a usable audio output.
94 # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs>
95 # for examples of other audio outputs.
97 # An example of an ALSA output:
101 name "My ALSA Device"
102 # device "hw:0,0" # optional
103 # format "44100:16:2" # optional
106 # An example of an OSS output:
110 # name "My OSS Device"
111 # device "/dev/dsp" # optional
112 # format "44100:16:2" # optional
115 # An example of a shout output (for streaming to Icecast):
119 # name "My Shout Stream"
126 # format "44100:16:1"
127 # user "source" # optional
128 # description "My Stream Description" # optional
129 # genre "jazz" # optional
130 # public "no" # optional
133 # Force all decoded audio to be converted to this format before
134 # being passed to the audio outputs.
136 #audio_output_format "44100:16:2"
138 # If MPD has been compiled with libsamplerate support, this
139 # specifies the sample rate converter to use. Possible
140 # values can be found in the mpd.conf man page or the
141 # libsamplerate documentation.
143 #samplerate_converter "Fastest Sinc Interpolator"
145 ################################################################
148 ############################# MIXER ############################
150 # MPD needs to know what mixer settings to change when you
151 # adjust the volume. If you don't specify one here, MPD will
152 # pick one based on which ones it was compiled with support for.
154 # An example for controlling an ALSA mixer:
156 # XXX I hope that this is good - maybe system-specific? (uzsolt)
158 mixer_device "default"
161 # An example for controlling an OSS mixer:
164 #mixer_device "/dev/mixer"
167 # If you want MPD to adjust the volume of audio sent to the
168 # audio outputs, you can tell it to use the software mixer:
170 #mixer_type "software"
172 ################################################################
175 ######################### NORMALIZATION ########################
177 # Specifies the type of ReplayGain to use. Can be "album" or
178 # "track". ReplayGain will not be used if not specified. See
179 # <http://www.replaygain.org> for more details.
183 # Sets the pre-amp used for files that have ReplayGain tags.
185 #replaygain_preamp "0"
187 # Enable on the fly volume normalization. This will cause the
188 # volume of all songs played to be adjusted so that they sound
189 # as though they are of equal loudness.
191 #volume_normalization "no"
193 ################################################################
196 ########################### BUFFERING ##########################
198 # The size of the buffer containing decoded audio. You probably
199 # shouldn't change this.
201 #audio_buffer_size "2048"
203 # How much of the buffer to fill before beginning to play.
204 # Increase this if you hear skipping when changing songs.
206 #buffer_before_play "10%"
208 # Similar options for the HTTP stream buffer. If you hear
209 # skipping while playing HTTP streams, you may wish to increase
212 #http_buffer_size "128"
213 #http_prebuffer_size "25%"
215 ################################################################
218 ########################### HTTP PROXY #########################
220 # Specifies the HTTP proxy to use for playing HTTP streams.
222 #http_proxy_host "proxy.isp.com"
223 #http_proxy_port "8080"
224 #http_proxy_user "user"
225 #http_proxy_password "password"
227 ################################################################
230 ############################# LIMITS ###########################
232 # These are various limits to prevent MPD from using too many
233 # resources. You should only change them if they start
234 # restricting your usage of MPD.
236 #connection_timeout "60"
238 #max_playlist_length "16384"
239 #max_command_list_size "2048"
240 #max_output_buffer_size "8192"
242 ################################################################
245 ###################### CHARACTER ENCODINGS #####################
247 # If file or directory names do not display correctly, then you
248 # may need to change this. In most cases it should be either
249 # "ISO-8859-1" or "UTF-8". You must recreate your database
250 # after changing this (use mpd --create-db).
252 # XXX is this evident in 2008 and PLD? (uzsolt)
253 filesystem_charset "UTF-8"
255 # The encoding that ID3v1 tags should be converted from.
257 #id3v1_encoding "ISO-8859-1"
259 ################################################################
262 ######################### OTHER OPTIONS ########################
264 # Try disabling this if you have MP3s which appear to end
265 # abruptly. If this solves the problem, it is highly
266 # recommended that you fix your MP3s with vbrfix (available from
267 # <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
268 # point you can re-enable support for gapless MP3 playback.
270 #gapless_mp3_playback "yes"
272 # Enable this if you wish to use your MPD created playlists in
273 # other music players.
275 #save_absolute_paths_in_playlists "no"
277 # A list of tag types that MPD will scan for and make available
280 #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
282 ################################################################