# MPD CONFIG FILE ##################### REQUIRED ########################### # You can put symlinks in here, if you like. Make sure # user that mpd runs as (see the 'user' config parameter) # can read the files in this directory music_directory "/home/user/MyDocs/.sounds" playlist_directory "/home/user/MyDocs/.sounds" db_file "/home/user/.mpd/tag_cache" log_file "/home/user/.mpd/mpd.log" error_file "/home/user/.mpd/errors.log" pid_file "/home/user/.mpd/pid" ########################################################## ########################################################## # EVERYTHING ELSE IS OPTIONAL ########################################################## ################## AUDIO OUTPUT ########################## # # use this if you want to use OSS audio output #audio_output { # type "oss" # name "my OSS sound card" # device "/dev/dsp" # optional # format "44100:16:2" #optional #} # # use this if you want to use ALSA audio output #audio_output { # type "alsa" # name "my ALSA device" # device "hw:0,0" # optional # format "44100:16:2" #optional #} # # using esound through libao is the least buggy output method audio_output { type "ao" name "default ao output" } # # # Set this if you have problems # playing audio files. # This will resample your music so # that it comes out at the set rate. # #audio_output_format "44100:16:2" # ########################################################## #################### OPTIONAL FILES ###################### # # The state file (if set) will be a file # for storing all current information # (playlist, playing/paused, etc...) from # the last MPD session. This will be used # to recreate your last MPD session after # restart. # state_file "/home/user/.mpd/state" # ########################################################## ################# SECURITY SETTINGS ###################### # # It is encouraged to run MPD as # non-superuser. If you start mpd as root # (for example, in an init script), set # this value, then mpd will drop root priveleges # and runs as the user specified. # user "user" # # Set this value if you only have one # address you want to allow connection to. # bind_to_address "localhost" # # If you want to setup MPD to use # passwords set them here # #password "password1@read,add,control,admin" #password "password2@read" # # Specify permissions used by default when no password is # given by for a connection/client. # #default_permissions "read,add,control,admin" # ##########################################