From 8a8f1f2d18a66c4498d539234b9f9e726e34ff90 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Tue, 24 Feb 2004 16:38:46 +0000 Subject: [PATCH] update config file example git-svn-id: https://svn.musicpd.org/mpd/trunk@28 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- doc/mpd.1 | 59 +++++++++++++++++++++++++++++---------------- doc/mpdconf.example | 5 +++- 2 files changed, 42 insertions(+), 22 deletions(-) diff --git a/doc/mpd.1 b/doc/mpd.1 index e4c3300d6..d0e99b1af 100644 --- a/doc/mpd.1 +++ b/doc/mpd.1 @@ -103,7 +103,7 @@ If a client does not send any new data in this time period, the connection is cl .B max_connections This specifies the maximum number of clients that can be connected to MPD. The default is 5 connections. .TP -.B mixer_type +.B mixer_type This specifies which mixer to use. The default is oss. .TP .B mixer_device @@ -149,8 +149,7 @@ This specifies whether relative or absolute paths for song filenames are used when saving playlists. The default value is "no". .SH EXAMPLES .TP -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.) +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.) .br .br @@ -170,44 +169,62 @@ error_file "/home/shank/mpd.error" .br # optional .br -mixer_type "oss" +mixer_type "oss" .br -mixer_device "/dev/mixer" +mixer_device "/dev/mixer" .br -#mixer_type "alsa" +#mixer_control "Pcm" .br -#mixer_device "default" +# mixer_type is typically "oss", "alsa", or "software" .br -#ao_driver "oss" +#mixer_type "alsa" .br -#ao_driver_options "dsp=/dev/dsp" +#mixer_device "default" .br -max_playlist_length "4096" +#mixer_control "PCM" .br -buffer_before_play "25%" +# ao_driver is typically "oss" or "alsa09" .br -#db_file "/home/shank/playlists/.mpddb" +#ao_driver "oss" .br -#state_file "/home/shank/playlists/.mpdstate" +#ao_driver_options "dsp=/dev/dsp" .br -#user "shank" +#audio_write_size "1024" .br -connection_timeout "60" +max_playlist_length "4096" .br -max_connections "5" +buffer_before_play "25%" .br -max_command_list_size "2048" +buffer_size "2048" .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 save_absolute_paths_in_playlists "no" .br # log_level can be "default", "secure", "verbose" .br -log_level "default" +log_level "default" .br -# if bind_to_address is "any", MPD binds all addresses +# when bind_to_address is set to "any", MPD binds all available addresses .br -bind_to_address "any" +bind_to_address "any" +.br +#passwd "passwd@read,add,control,admin" +.br +#default_permissions "read,add,control,admin" +.br +#filesystem_charset "UTF-8" .SH SEE ALSO mpc(1) diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 665bf1f8e..9e3bfd3ed 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -9,11 +9,14 @@ error_file "/home/shank/mpd.error" mixer_type "oss" mixer_device "/dev/mixer" #mixer_control "Pcm" +# mixer_type is typically "oss", "alsa", or "software" #mixer_type "alsa" #mixer_device "default" #mixer_control "PCM" +# ao_driver is typically "oss" or "alsa09" #ao_driver "oss" #ao_driver_options "dsp=/dev/dsp" +#audio_write_size "1024" max_playlist_length "4096" buffer_before_play "25%" buffer_size "2048" @@ -31,4 +34,4 @@ log_level "default" bind_to_address "any" #passwd "passwd@read,add,control,admin" #default_permissions "read,add,control,admin" -#fs_charset "UTF-8" +#filesystem_charset "UTF-8"