Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8a8f1f2d
Commit
8a8f1f2d
authored
Feb 24, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update config file example
git-svn-id:
https://svn.musicpd.org/mpd/trunk@28
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
138aa54d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
22 deletions
+42
-22
mpd.1
doc/mpd.1
+38
-21
mpdconf.example
doc/mpdconf.example
+4
-1
No files found.
doc/mpd.1
View file @
8a8f1f2d
...
...
@@ -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>
This specifies the maximum number of clients that can be connected to MPD. The default is 5 connections.
.TP
.B mixer_type <oss
or alsa
>
.B mixer_type <oss
, alsa, or software
>
This specifies which mixer to use. The default is oss.
.TP
.B mixer_device <mixer dev>
...
...
@@ -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
# 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
#
if bind_to_address is "any", MPD binds all addresses
#
default_permissions "read,add,control,admin"
.br
bind_to_address "any
"
#filesystem_charset "UTF-8
"
.SH SEE ALSO
mpc(1)
doc/mpdconf.example
View file @
8a8f1f2d
...
...
@@ -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"
#f
s_charset
"UTF-8"
#f
ilesystem_charset
"UTF-8"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment