aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mpdconf.example
blob: 2ed505baf042aed8517a032ba58bd751b35cbee4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# MPD CONFIG FILE
# For a full description of all config parameters,
# Check the mpd man page, "man mpd".

##################### REQUIRED ###########################
music_directory 	"~/music"
playlist_directory 	"~/music"
db_file 		"~/.mpd/mpd.db"
log_file 		"~/.mpd/mpd.log"
error_file 		"~/.mpd/mpd.error"
pid_file 		"~/.mpd/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
#} 
#
# as a last resort, try using libao
#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"
#
##########################################################


################### VOLUME MIXER #########################
#
# Examples:
# ALSA Mixer 
#mixer_type		"alsa"
#mixer_device		"default"
#mixer_control		"PCM"
#
# OSS Mixer
#mixer_type		"oss"
#mixer_device 		"/dev/mixer"
#mixer_control		"PCM"
#
# Software Mixer
#mixer_type		"software"
#
##########################################################


################# SHOUT STREAMING ########################
#
# Set this to allow mpd to stream its output to icecast2
# (i.e. mpd is a icecast2 source)
#
#audio_output {
#	type		"shout"
#	name		"my cool stream"
#	host		"hostname"
#	port		"8000"
#	mount		"/mpd.ogg"
#	password	"hackme"
#	quality		"5.0"	
#	bitrate		"128"
#	format		"44100:16:1"
#
# Optional Paramters
#	user		"source"
#	description	"here's my long descriptiion"
#       genre		"jazz"
#} # end of audio_output
#
##########################################################


################# FILESYSTEM SETTINGS ####################
#
# If the names of files or directories are 
# not correctly displayed then set the 
# following to the filesystem coding. 
#
#	Usually this is either:
#	ISO-8859-1 or UTF-8
#
# After changing the filesystem_charset
# you will need to recreate the db:
#	mpd --create-db
#
#filesystem_charset "ISO-8859-1"
#
##########################################################


#################### 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		"~/.mpd/mpdstate"
#
##########################################################


################# REPLAYGAIN #############################
#
# Use Replay Gain (album or track)
#	http://www.replaygain.org
#
#replaygain		"album"
#
# Sets the pre-amp used for files that have replaygain
# info.  Valid values are between -15 to 15 (in dB).
#
#replaygain_preamp	"0"
#
##########################################################


################ OUTPUT BUFFER SETTINGS ##################
#
# You should not need to mess with this
# unless you know what you're doing.
#
#audio_buffer_size	"2048"
#
# This means exactly what it says, it will
# buffer your file up to the percentage of
# the buffer before it begins playing.
#
#buffer_before_play 	"25%"
#
##########################################################


################### HTTP PROXY ###########################
#
# http_proxy_host	"proxy.isp.com"
# http_proxy_port	"8080"
# http_proxy_user	"user"
# http_proxy_password	"password"
#
##########################################################


################# 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 		"nobody"
#
# 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"
#
##########################################


################ MISCELLANEOUS OPTIONS ###################
#
#port	"6600"
#
# This determines what encoding ID3v1 tags should be converted from.
#
#id3v1_encoding         "ISO-8859-1"
#
# This sets the metadata mpd will use, to disable all metadata, set to "none"
# NOTE: comments are disabled by default
#
#metadata_to_use "artist,album,title,genre,date,track,composer,performer,comment"
#
# This setting exists as precaution against attacks.
#
#max_playlist_length 	"16384"
#
# Valid options are "default", "secure" or "verbose".
#log_level		"default"
#
#connection_timeout 	"60"
#
# This should be fine for 2-3 people using clients 
# at the same time.
#
#max_connections 	"5"
#
# No need to change these unless you know better.
#
#max_command_list_size 	"2048"
#max_output_buffer_size "8192"
#
# This will make playlists compatible with normal music
# players.
#
#save_absolute_paths_in_playlists "no"
#
##########################################################