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 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 ##########################################################
35 ################## AUDIO OUTPUT ##########################
40 # device "hw:0,0" # optional
41 # format "44100:16:2" # optional
44 # An example of an OSS output:
48 # name "My OSS Device"
49 # device "/dev/dsp" # optional
50 # format "44100:16:2" # optional
53 # An example of a shout output (for streaming to Icecast):
57 # name "My Shout Stream"
65 # user "source" # optional
66 # description "My Stream Description" # optional
67 # genre "jazz" # optional
68 # public "no" # optional
71 # Set this if you have problems
72 # playing audio files.
73 # This will resample your music so
74 # that it comes out at the set rate.
76 #audio_output_format "44100:16:2"
78 # You should not need mess with
79 # this value unless you know
82 #audio_write_size "1024"
84 ##########################################################
86 ################# REPLAYGAIN #############################
88 # Use Replay Gain (album or title)
89 # http://www.replaygain.org
93 # Sets the pre-amp used for files that have replaygain
94 # info. Valid values are between -15 to 15 (in dB).
96 #replaygain_preamp "0"
98 ##########################################################
101 ################ OUTPUT BUFFER SETTINGS ##################
103 # You should not need to mess with this
104 # unless you know what you're doing.
106 audio_buffer_size "2048"
108 # This means exactly what it says, it will
109 # buffer your file up to the percentage of
110 # the buffer before it begins playing.
112 buffer_before_play "25%"
114 ##########################################################
117 ################### HTTP PROXY ###########################
119 # http_proxy_host "proxy.isp.com"
120 # http_proxy_port "8080"
121 # http_proxy_user "user"
122 # http_proxy_password "password"
124 ##########################################################
127 ################# SECURITY SETTINGS ######################
129 # It is encouraged to run MPD as
130 # non-superuser. If you start mpd as root
131 # (for example, in an init script), set
132 # this value, then mpd will drop root priveleges
133 # and runs as the user specified.
137 # Set this value if you only have one
138 # address you want to allow connection to.
140 bind_to_address "localhost"
142 # If you want to setup MPD to use
143 # passwords set them here
145 #password "password1@read,add,control,admin"
146 #password "password2@read"
148 # Specify permissions used by default when no password is
149 # given by for a connection/client.
151 #default_permissions "read,add,control,admin"
153 ##########################################
156 ################ MISCELLANEOUS OPTIONS ###################
158 # This setting exists as precaution against attacks.
160 #max_playlist_length "16384"
162 # Valid options are "default", "secure" or "verbose".
165 connection_timeout "60"
167 # This should be fine for 2-3 people using clients
172 # No need to change these unless you know better.
174 #max_command_list_size "2048"
175 #max_output_buffer_size "2048"
177 # This will make playlists compatible with normal music
180 #save_absolute_paths_in_playlists "no"
182 ##########################################################
184 ###################### CHARACTER ENCODINGS #####################
186 # If file or directory names do not display correctly, then you
187 # may need to change this. In most cases it should be either
188 # "ISO-8859-1" or "UTF-8". You must recreate your database
189 # after changing this (use mpd --create-db).
191 filesystem_charset "UTF-8"
193 # The encoding that ID3v1 tags should be converted from.
195 id3v1_encoding "UTF-8"
196 metadata_to_use "artist,album,title,track,name,comment,date,genre"
198 ################################################################