Rpi Music Player Daemon

Description
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music.

Installation
To install MPD on the Debian release for Raspberry Pi you will need the  package. You may also want to install  (a very simple console based MPD client, useful for debugging) and   (another console based client, but more useful for playing music).

Running as a Normal User
The developers of MPD recommend that you do not run the server as "root". To run the server as the "pi" user:

Stop MPD with:

Files that MPD needs to access are owned by the "audio" group, and the "pi" user is a member of the audio group, but the files are not set to be writeable by the group. Make the the files group writeable with:

You will also need to remove the log file created by "root" when MPD was first started:

And now restart MPD:

Loading Music
The default location for music is. You can fill this directory with music, replace it with a symlink or change the location in the configuration file. To update the MPD database run  on the MPD server or initiate the update with another client.

Configuration
You can make changes to the configuration by editing

Remote Access
To allow connections from other devices comment out the line:

Volume Control
If sound works but you don't have volume control you need to change the  setting. Find the name of the mixer you want with  and enter it into the   setting in the   section you are using.

For example; to control the main volume on a Sound Blaster Play! you would use: