]> git.pld-linux.org Git - packages/mpd.git/blame - mpd.conf
- release 2
[packages/mpd.git] / mpd.conf
CommitLineData
aac54f87
ZU
1#
2# Base configuration file for MPD on PLD-linux
3#
4# Based on the example configuration file for MPD
5# See the mpd.conf man page for a more detailed description of each parameter.
6
7######################## REQUIRED PATHS ########################
8# XXX Is there a better solution to music_directory? IMHO this is computer-specific. (uzsolt)
9music_directory "/music"
10playlist_directory "/var/lib/mpd/playlists"
11db_file "/var/lib/mpd/mpd.db"
e36c5030
KK
12log_file "/var/log/mpd/mpd.log"
13error_file "/var/log/mpd/mpd.error"
aac54f87
ZU
14################################################################
15
16
17######################## OPTIONAL PATHS ########################
18#
19# If you wish to use mpd --kill to stop MPD, then you must
20# specify a file here in which to store MPD's process ID.
21#
22pid_file "/var/run/mpd/mpd.pid"
23#
24# If specified, MPD will save its current state (playlist,
25# current song, playing/paused, etc.) at exit. This will be
26# used to restore the session the next time it is run.
27#
28state_file "/var/run/mpd/mpdstate"
29#
30################################################################
31
32
33######################## DAEMON OPTIONS ########################
34#
35# If started as root, MPD will drop root privileges and run as
36# this user instead. Otherwise, MPD will run as the user it was
37# started by. If left unspecified, MPD will not drop root
38# privileges at all (not recommended).
39#
40user "mpd"
41#
42# The address and port to listen on.
43#
44#bind_to_address "any"
45#port "6600"
46#
47# Controls the amount of information that is logged. Can be
48# "default", "secure", or "verbose".
49#
50#log_level "default"
51#
52################################################################
53
54
55########################### ZEROCONF ###########################
56#
57# If yes, service information will be published with Zeroconf.
58#
59#zeroconf_enabled "yes"
60#
61# The service name to publish. This name should be unique on
62# your local network.
63#
64#zeroconf_name "Music Player"
65#
66################################################################
67
68
69########################## PERMISSIONS #########################
70#
71# MPD can require that users specify a password before using it.
72# You may specify one ore more here, along with what users who
73# log in with that password are allowed to do.
74#
75#password "password@read,add,control,admin"
76#
77# Specifies what permissions a user who has not logged in with a
78# password has. By default, all users have full access to MPD
79# if no password is specified above, or no access if one or
80# more passwords are specified.
81#
82#default_permissions "read,add,control,admin"
83#
84################################################################
85
86
87########################## AUDIO OUTPUT ########################
88#
89# MPD supports many audio output types, as well as playing
90# through multiple audio outputs at the same time. You can
91# specify one or more here. If you don't specify any, MPD will
92# automatically scan for a usable audio output.
93#
94# See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs>
95# for examples of other audio outputs.
96#
97# An example of an ALSA output:
98#
99audio_output {
100 type "alsa"
101 name "My ALSA Device"
102# device "hw:0,0" # optional
103# format "44100:16:2" # optional
104}
105#
106# An example of an OSS output:
107#
108#audio_output {
109# type "oss"
110# name "My OSS Device"
111# device "/dev/dsp" # optional
112# format "44100:16:2" # optional
113#}
114#
115# An example of a shout output (for streaming to Icecast):
116#
117#audio_output {
118# type "shout"
119# name "My Shout Stream"
120# host "localhost"
121# port "8000"
122# mount "/mpd.ogg"
123# password "hackme"
124# quality "5.0"
125# bitrate "128"
126# format "44100:16:1"
127# user "source" # optional
128# description "My Stream Description" # optional
129# genre "jazz" # optional
130# public "no" # optional
131#}
132#
133# Force all decoded audio to be converted to this format before
134# being passed to the audio outputs.
135#
136#audio_output_format "44100:16:2"
137#
138# If MPD has been compiled with libsamplerate support, this
139# specifies the sample rate converter to use. Possible
140# values can be found in the mpd.conf man page or the
141# libsamplerate documentation.
142#
143#samplerate_converter "Fastest Sinc Interpolator"
144#
145################################################################
146
147
148############################# MIXER ############################
149#
150# MPD needs to know what mixer settings to change when you
151# adjust the volume. If you don't specify one here, MPD will
152# pick one based on which ones it was compiled with support for.
153#
154# An example for controlling an ALSA mixer:
155#
156# XXX I hope that this is good - maybe system-specific? (uzsolt)
157mixer_type "alsa"
158mixer_device "default"
159mixer_control "PCM"
160#
161# An example for controlling an OSS mixer:
162#
163#mixer_type "oss"
164#mixer_device "/dev/mixer"
165#mixer_control "PCM"
166#
167# If you want MPD to adjust the volume of audio sent to the
168# audio outputs, you can tell it to use the software mixer:
169#
170#mixer_type "software"
171#
172################################################################
173
174
175######################### NORMALIZATION ########################
176#
177# Specifies the type of ReplayGain to use. Can be "album" or
178# "track". ReplayGain will not be used if not specified. See
179# <http://www.replaygain.org> for more details.
180#
181#replaygain "album"
182#
183# Sets the pre-amp used for files that have ReplayGain tags.
184#
185#replaygain_preamp "0"
186#
187# Enable on the fly volume normalization. This will cause the
188# volume of all songs played to be adjusted so that they sound
189# as though they are of equal loudness.
190#
191#volume_normalization "no"
192#
193################################################################
194
195
196########################### BUFFERING ##########################
197#
198# The size of the buffer containing decoded audio. You probably
199# shouldn't change this.
200#
201#audio_buffer_size "2048"
202#
203# How much of the buffer to fill before beginning to play.
204# Increase this if you hear skipping when changing songs.
205#
206#buffer_before_play "10%"
207#
208# Similar options for the HTTP stream buffer. If you hear
209# skipping while playing HTTP streams, you may wish to increase
210# these.
211#
212#http_buffer_size "128"
213#http_prebuffer_size "25%"
214#
215################################################################
216
217
218########################### HTTP PROXY #########################
219#
220# Specifies the HTTP proxy to use for playing HTTP streams.
221#
222#http_proxy_host "proxy.isp.com"
223#http_proxy_port "8080"
224#http_proxy_user "user"
225#http_proxy_password "password"
226#
227################################################################
228
229
230############################# LIMITS ###########################
231#
232# These are various limits to prevent MPD from using too many
233# resources. You should only change them if they start
234# restricting your usage of MPD.
235#
236#connection_timeout "60"
237#max_connections "5"
238#max_playlist_length "16384"
239#max_command_list_size "2048"
240#max_output_buffer_size "8192"
241#
242################################################################
243
244
245###################### CHARACTER ENCODINGS #####################
246#
247# If file or directory names do not display correctly, then you
248# may need to change this. In most cases it should be either
249# "ISO-8859-1" or "UTF-8". You must recreate your database
250# after changing this (use mpd --create-db).
251#
252# XXX is this evident in 2008 and PLD? (uzsolt)
253filesystem_charset "UTF-8"
254#
255# The encoding that ID3v1 tags should be converted from.
256#
257#id3v1_encoding "ISO-8859-1"
258#
259################################################################
260
261
262######################### OTHER OPTIONS ########################
263#
264# Try disabling this if you have MP3s which appear to end
265# abruptly. If this solves the problem, it is highly
266# recommended that you fix your MP3s with vbrfix (available from
267# <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
268# point you can re-enable support for gapless MP3 playback.
269#
270#gapless_mp3_playback "yes"
271#
272# Enable this if you wish to use your MPD created playlists in
273# other music players.
274#
275#save_absolute_paths_in_playlists "no"
276#
277# A list of tag types that MPD will scan for and make available
278# to clients.
279#
280#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
281#
282################################################################
This page took 0.109871 seconds and 4 git commands to generate.