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
0345c1e6
Commit
0345c1e6
authored
Jan 03, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/user: more general documentation about the configuration file
parent
f6c4cda0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
user.xml
doc/user.xml
+34
-0
No files found.
doc/user.xml
View file @
0345c1e6
...
...
@@ -199,6 +199,40 @@ systemctl start mpd.socket</programlisting>
<chapter
id=
"config"
>
<title>
Configuration
</title>
<section
id=
"config_file"
>
<title>
The Configuration File
</title>
<para>
<application>
MPD
</application>
reads its configuration from a
text file. Usually, that is
<filename>
/etc/mpd.conf
</filename>
, unless a different path is
specified on the command line. If you run
<application>
MPD
</application>
as a user daemon (and not as a
system daemon), the configuration is read from
<filename>
$XDG_CONFIG_HOME/mpd/mpd.conf
</filename>
(usually
<filename>
~/.config/mpd/mpd.conf
</filename>
).
</para>
<para>
Each line in the configuration file contains a setting name
and its value, e.g.:
</para>
<programlisting>
connection_timeout "5"
</programlisting>
<para>
Some of the settings are grouped in blocks with curly braces,
e.g. per-plugin settings:
</para>
<programlisting>
audio_output {
type "alsa"
name "My ALSA output"
device "iec958:CARD=Intel,DEV=0"
mixer_control "PCM"
}
</programlisting>
</section>
<section
id=
"config_music_directory"
>
<title>
Configuring the music directory
</title>
...
...
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