2 # For a full description of all config parameters,
3 # Check the mpd man page, "man mpd".
5 ##################### REQUIRED ###########################
7 music_directory "/var/mp3"
8 playlist_directory "/var/ipfire/mpfire"
9 log_file "/var/log/mpd.log"
10 pid_file "/var/run/mpd.pid"
11 ##########################################################
13 ##########################################################
14 # EVERYTHING ELSE IS OPTIONAL
15 ##########################################################
17 #################### OPTIONAL FILES ######################
21 db_file "/var/ipfire/mpfire/db/mpd.db"
23 # The state file (if set) will be a file
24 # for storing all current information
25 # (playlist, playing/paused, etc...) from
26 # the last MPD session. This will be used
27 # to recreate your last MPD session after
30 state_file "/var/ipfire/mpfire/mpd_state"
32 ##########################################################
34 ################## AUDIO OUTPUT ##########################
39 # device "hw:0,0" # optional
40 # format "44100:16:2" # optional
43 # An example of an OSS output:
47 # name "My OSS Device"
48 # device "/dev/dsp" # optional
49 # format "44100:16:2" # optional
52 # An example of a shout output (for streaming to Icecast):
56 # name "My Shout Stream"
64 # user "source" # optional
65 # description "My Stream Description" # optional
66 # genre "jazz" # optional
67 # public "no" # optional
70 # Set this if you have problems
71 # playing audio files.
72 # This will resample your music so
73 # that it comes out at the set rate.
75 #audio_output_format "44100:16:2"
77 # You should not need mess with
78 # this value unless you know
81 #audio_write_size "1024"
83 ##########################################################
85 ################# REPLAYGAIN #############################
87 # Use Replay Gain (album or title)
88 # http://www.replaygain.org
92 # Sets the pre-amp used for files that have replaygain
93 # info. Valid values are between -15 to 15 (in dB).
95 #replaygain_preamp "0"
97 ##########################################################
100 ################ OUTPUT BUFFER SETTINGS ##################
102 # You should not need to mess with this
103 # unless you know what you're doing.
105 audio_buffer_size "2048"
107 # This means exactly what it says, it will
108 # buffer your file up to the percentage of
109 # the buffer before it begins playing.
111 buffer_before_play "25%"
113 ##########################################################
116 ################### HTTP PROXY ###########################
118 # http_proxy_host "proxy.isp.com"
119 # http_proxy_port "8080"
120 # http_proxy_user "user"
121 # http_proxy_password "password"
123 ##########################################################
126 ################# SECURITY SETTINGS ######################
128 # It is encouraged to run MPD as
129 # non-superuser. If you start mpd as root
130 # (for example, in an init script), set
131 # this value, then mpd will drop root priveleges
132 # and runs as the user specified.
136 # Set this value if you only have one
137 # address you want to allow connection to.
139 bind_to_address "localhost"
141 # If you want to setup MPD to use
142 # passwords set them here
144 #password "password1@read,add,control,admin"
145 #password "password2@read"
147 # Specify permissions used by default when no password is
148 # given by for a connection/client.
150 #default_permissions "read,add,control,admin"
152 ##########################################
155 ################ MISCELLANEOUS OPTIONS ###################
157 # This setting exists as precaution against attacks.
159 #max_playlist_length "16384"
161 # Valid options are "default", "secure" or "verbose".
164 connection_timeout "60"
166 # This should be fine for 2-3 people using clients
171 # No need to change these unless you know better.
173 #max_command_list_size "2048"
174 #max_output_buffer_size "2048"
176 # This will make playlists compatible with normal music
179 #save_absolute_paths_in_playlists "no"
181 ##########################################################
183 ###################### CHARACTER ENCODINGS #####################
185 # If file or directory names do not display correctly, then you
186 # may need to change this. In most cases it should be either
187 # "ISO-8859-1" or "UTF-8". You must recreate your database
188 # after changing this (use mpd --create-db).
190 filesystem_charset "UTF-8"
192 # The encoding that ID3v1 tags should be converted from.
194 id3v1_encoding "UTF-8"
195 metadata_to_use "artist,album,title,track,name,comment,date,genre"
197 ################################################################