Commit 8a8f1f2d authored by Warren Dukes's avatar Warren Dukes

update config file example

git-svn-id: https://svn.musicpd.org/mpd/trunk@28 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 138aa54d
...@@ -103,7 +103,7 @@ If a client does not send any new data in this time period, the connection is cl ...@@ -103,7 +103,7 @@ If a client does not send any new data in this time period, the connection is cl
.B max_connections <int> .B max_connections <int>
This specifies the maximum number of clients that can be connected to MPD. The default is 5 connections. This specifies the maximum number of clients that can be connected to MPD. The default is 5 connections.
.TP .TP
.B mixer_type <oss or alsa> .B mixer_type <oss, alsa, or software>
This specifies which mixer to use. The default is oss. This specifies which mixer to use. The default is oss.
.TP .TP
.B mixer_device <mixer dev> .B mixer_device <mixer dev>
...@@ -149,8 +149,7 @@ This specifies whether relative or absolute paths for song filenames are ...@@ -149,8 +149,7 @@ This specifies whether relative or absolute paths for song filenames are
used when saving playlists. The default value is "no". used when saving playlists. The default value is "no".
.SH EXAMPLES .SH EXAMPLES
.TP .TP
Below is an example config file. (Note: '#' at the beginning of a line denotes Below is an example config file. (Note: '#' at the beginning of a line denotes a comment. The '#' must be the first character/symbol on that line.)
a comment. The '#' must be the first character/symbol on that line.)
.br .br
.br .br
...@@ -170,44 +169,62 @@ error_file "/home/shank/mpd.error" ...@@ -170,44 +169,62 @@ error_file "/home/shank/mpd.error"
.br .br
# optional # optional
.br .br
mixer_type "oss" mixer_type "oss"
.br .br
mixer_device "/dev/mixer" mixer_device "/dev/mixer"
.br .br
#mixer_type "alsa" #mixer_control "Pcm"
.br .br
#mixer_device "default" # mixer_type is typically "oss", "alsa", or "software"
.br .br
#ao_driver "oss" #mixer_type "alsa"
.br .br
#ao_driver_options "dsp=/dev/dsp" #mixer_device "default"
.br .br
max_playlist_length "4096" #mixer_control "PCM"
.br .br
buffer_before_play "25%" # ao_driver is typically "oss" or "alsa09"
.br .br
#db_file "/home/shank/playlists/.mpddb" #ao_driver "oss"
.br .br
#state_file "/home/shank/playlists/.mpdstate" #ao_driver_options "dsp=/dev/dsp"
.br .br
#user "shank" #audio_write_size "1024"
.br .br
connection_timeout "60" max_playlist_length "4096"
.br .br
max_connections "5" buffer_before_play "25%"
.br .br
max_command_list_size "2048" buffer_size "2048"
.br .br
max_output_buffer_size "2048" #db_file "/home/shank/playlists/.mpddb"
.br
#state_file "/home/shank/playlists/.mpdstate"
.br
#user "shank"
.br
connection_timeout "60"
.br
max_connections "5"
.br
max_command_list_size "2048"
.br
max_output_buffer_size "2048"
.br .br
save_absolute_paths_in_playlists "no" save_absolute_paths_in_playlists "no"
.br .br
# log_level can be "default", "secure", "verbose" # log_level can be "default", "secure", "verbose"
.br .br
log_level "default" log_level "default"
.br
# when bind_to_address is set to "any", MPD binds all available addresses
.br
bind_to_address "any"
.br
#passwd "passwd@read,add,control,admin"
.br .br
# if bind_to_address is "any", MPD binds all addresses #default_permissions "read,add,control,admin"
.br .br
bind_to_address "any" #filesystem_charset "UTF-8"
.SH SEE ALSO .SH SEE ALSO
mpc(1) mpc(1)
...@@ -9,11 +9,14 @@ error_file "/home/shank/mpd.error" ...@@ -9,11 +9,14 @@ error_file "/home/shank/mpd.error"
mixer_type "oss" mixer_type "oss"
mixer_device "/dev/mixer" mixer_device "/dev/mixer"
#mixer_control "Pcm" #mixer_control "Pcm"
# mixer_type is typically "oss", "alsa", or "software"
#mixer_type "alsa" #mixer_type "alsa"
#mixer_device "default" #mixer_device "default"
#mixer_control "PCM" #mixer_control "PCM"
# ao_driver is typically "oss" or "alsa09"
#ao_driver "oss" #ao_driver "oss"
#ao_driver_options "dsp=/dev/dsp" #ao_driver_options "dsp=/dev/dsp"
#audio_write_size "1024"
max_playlist_length "4096" max_playlist_length "4096"
buffer_before_play "25%" buffer_before_play "25%"
buffer_size "2048" buffer_size "2048"
...@@ -31,4 +34,4 @@ log_level "default" ...@@ -31,4 +34,4 @@ log_level "default"
bind_to_address "any" bind_to_address "any"
#passwd "passwd@read,add,control,admin" #passwd "passwd@read,add,control,admin"
#default_permissions "read,add,control,admin" #default_permissions "read,add,control,admin"
#fs_charset "UTF-8" #filesystem_charset "UTF-8"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment