summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkaliko <kaliko@azylum.org>2020-11-07 16:18:46 +0100
committerMax Kellermann <max@musicpd.org>2020-11-10 15:58:10 +0100
commit27b69330f4641d692eff8320b6dfd440ad8aaca8 (patch)
treee09e6dfeee7179c1eef246f7247d0da589d78b4b /doc
parent6b50b673395fe2a286c17eaf12fa40de07fc511e (diff)
doc/mpdconf.example: add database exemples
Diffstat (limited to 'doc')
-rw-r--r--doc/mpdconf.example14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index b636b4ce1..a097fc652 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -173,7 +173,18 @@
# Database #######################################################################
#
-
+# An example of a database section instead of the old 'db_file' setting.
+# It enables mounting other storages into the music directory.
+#
+#database {
+# plugin "simple"
+# path "~/.local/share/mpd/db
+# cache_directory "~/.local/share/mpd/cache"
+#}
+#
+# An example of database config for a sattelite setup
+#
+#music_directory "nfs://fileserver.local/srv/mp3"
#database {
# plugin "proxy"
# host "other.mpd.host"
@@ -182,7 +193,6 @@
# Input #######################################################################
#
-
input {
plugin "curl"
# proxy "proxy.isp.com:8080"