aboutsummaryrefslogblamecommitdiffstats
path: root/doc/mpdconf.example
blob: bdcba08943900adccc62aaa36942d762e763f673 (plain) (tree)
1
2
3
4
5
6
7
8




                                                  
                                   
                              
                                 


                                          
                                   
 







                                         


                                           








                                         
                                      




                                            
                                         






                                          
                             

                 


                                 







                                  

                                      





                                    
                              

                                  
 




                                  
 
                                          
                                           
                                          
                        
 

                                          
 



                                                          
 

                                                          
                                                

                                          
 
                                          
                               




                                      
 


                                                 
# MPD CONFIG FILE
# For a full description of all config parameters,
# Check the mpd man page, "man mpd".


########## REQUIRED ###############
port 			"6600"
music_directory 	"~/music"
playlist_directory 	"~/.mpd/playlists"
log_file 		"~/.mpd/mpd.log"
error_file 		"~/.mpd/mpd.error"
###################################


###################################
# EVERYTHING ELSE IS OPTIONAL
###################################


######### FILESYSTEM SETTINGS ###########
# If filenames or directory names don't
#     display correctly, set the character 
#     set (encoding) for the filesystem
#     here. The fileystem encoding is 
#     typically "ISO-8859-1" or "UTF-8".
#     After changing fileystem_charset,
#     recreate the db: mpd --create-db
#filesystem_charset "ISO-8859-1"
#########################################


########### OPTIONAL FILES ##############
# Location of DB file 
#db_file		"~/.mpd/mpddb"
#
# State file for storing state of mpd 
#     when it is shutdown.  MPD will restore
#     the state (i.e. load playlist, start
#     playing, etc) upon restart.
#state_file		"~/.mpd/mpdstate"
##########################################


######### VOLUME MIXER ############
# for OSS Mixer
#mixer_type		"oss"
#mixer_device 		"/dev/mixer"
#mixer_control		"Pcm"

# for Alsa Mixer 
#mixer_type		"alsa"
#mixer_device		"default"
#mixer_control		"PCM"

# for Software Mixer
#mixer_type		"software"
##################################


######### AUDIO OUTPUT ###########
# for OSS Audio Output
#ao_driver 		"oss"
#ao_driver_options 	"dsp=/dev/dsp"

# for ALSA Audio Output
#ao_driver		"alsa09"
#ao_driver_options	"dev=hw:0,0"

# misc audio output options
#audio_write_size	"1024"
##################################


#### OUTPUT BUFFER SETTINGS ######
#buffer_size		"2048"
#buffer_before_play 	"25%"
##################################


########### SECURITY SETTINGS ############
# if you start mpd as root, its recommended
#     you specify a a user for mpd to run.
#user 		"nobody"

# to only allow connections from localhost
#bind_to_address 	"localhost"

# Specify one or more passwords required to
#     access mpd:
#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"
##########################################


########### MISC OPTIONS #################
#max_playlist_length 	"16384"
#connection_timeout 	"60"
#max_connections 	"5"
#max_command_list_size 	"2048"
#max_output_buffer_size 	"2048"
#save_absolute_paths_in_playlists "no"

# log_level can be "default", "secure", "verbose"
#log_level		"default"
#########################################