Chapter 9. Plugin reference
Prev |  | Next

# Chapter 9. Plugin reference

## Database plugins

### `simple`

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.
`cache_directory` | The path of the cache directory for additional storages mounted at runtime. This setting is necessary for the mount protocol command.
`compress` `yes|no` | Compress the database file using `gzip`? Enabled by default (if built with `zlib`).

### `proxy`

Provides access to the database of another MPD instance using `libmpdclient`. This is useful when you run mount the music directory via NFS/SMB, and the file server already runs a MPD instance. Only the file server needs to update the database.

Note that unless overridden by the below settings (e.g. by setting them to a blank value), general curl configuration from environment variables such as http_proxy or specified in ~/.curlrc will be in effect.

Setting | Description
--- | ---
`host` | The host name of the "master" MPD instance.
`port` | The port number of the "master" MPD instance.
`keepalive` `yes|no` | Send TCP keepalive packets to the "master" MPD instance? This option can help avoid certain firewalls dropping inactive connections, at the expensive of a very small amount of additional network traffic. Disabled by default.

### `upnp`

Provides access to UPnP media servers.

Prev |  | Next
Reporting Bugs | Home | Storage plugins