From ca9795c30a9c94fb6b9dd3391546f3332f65b4f2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Aug 2012 08:34:59 +0200 Subject: conf: add a "database" block The new block overrides the "db_file" setting, and allows configuring any database plugin. --- doc/user.xml | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) (limited to 'doc') diff --git a/doc/user.xml b/doc/user.xml index fdfbc4419..942e5c767 100644 --- a/doc/user.xml +++ b/doc/user.xml @@ -164,6 +164,53 @@ systemctl start mpd.socket +
+ Configuring database plugins + + + If a music directory is configured, one database plugin is + used. To configure this plugin, add a + database block to + mpd.conf: + + + database { + plugin "simple" + path "/var/lib/mpd/db" +} + + + + The following table lists the database + options valid for all plugins: + + + + + + + + Name + + + Description + + + + + + + plugin + + + The name of the plugin. + + + + + +
+
Configuring input plugins @@ -617,6 +664,78 @@ systemctl start mpd.socket Plugin reference +
+ Database plugins + +
+ <varname>simple</varname> + + + The default plugin. Stores a copy of the database in + memory. A file is used for permanent storage. + + + + + + + Setting + Description + + + + + + path + + + The path of the database file. + + + + + +
+ +
+ <varname>proxy</varname> + + + Provides access to the database of another MPD instance + using libmpdclient. Experimental! + + + + + + + Setting + Description + + + + + + host + + + The host name of the "master" MPD instance. + + + + + port + + + The port number of the "master" MPD instance. + + + + + +
+
+
Input plugins -- cgit v1.2.3