Storage plugins
Prev | Chapter 9. Plugin reference | Next

## Storage plugins

### `local`

The default plugin which gives MPD access to local files. It is used when `music_directory` refers to a local directory.

### `curl`

A WebDAV client using `libcurl`. It is used when `music_directory` contains a `http://` or `https://` URI, for example "`https://the.server/dav/`".

### `smbclient`

Load music files from a SMB/CIFS server. It is used when `music_directory` contains a `smb://` URI, for example "`smb://myfileserver/Music`".

### `nfs`

Load music files from a NFS server. It is used when `music_directory` contains a `nfs://` URI according to RFC2224, for example "`nfs://servername/path`".

This plugin uses `libnfs`, which supports only NFS version 3. Since MPD is not allowed to bind to "privileged ports", the NFS server needs to enable the "insecure" setting; example `/etc/exports`:

    /srv/mp3 192.168.1.55(ro,insecure)

Don't fear: "insecure" does not mean that your NFS server is insecure. A few decades ago, people thought the concept of "privileged ports" would make network services "secure", which was a fallacy. The absence of this obsolete "security" measure means little.

Prev | Up | Next
Chapter 9. Plugin reference | Home | Neighbor plugins