In this tutorial we are going to explain how to configure our Raspberry Pi as Music Player Deamon Server. We have used Arch Linux Arm as operating system but the procedure is similar on most other systems. First to all install and configure Arch Linux Arm, to do this we refer you to (ELinux) download the image from here and check SHA-1 ! The next step is configure Arch Linux Arm, to do this I always refer to the official guide (Beginner's guide) After setting up our system, let's install Advanced Linux Sound Architecture (ALSA)

# pacman -S alsa-utils

Plug your 1/8 audio jack to your sound system (or headphones) into the Pi audio jack and try

$ aplay /usr/share/sounds/alsa/Front_Right.wav

Now let's install Music Player Deamon Server, download from official repositories

# pacman -S mpd mpc

The default /etc/mpd.conf keeps the setup in /var/lib/mpd and uses mpd as default user. However, /var/lib/mpd is owned by root by default, we need to change this so mpd can write here

# chown -R mpd /var/lib/mpd

Edit /etc/mpd.conf and add a music_directory line with the path to your music directory

music_directory /path/to/music

Then start MPD

$ mpd.service

To enable MPD's service run this command

# systemctl enable mpd.service


Here you are our official Video that show you how it works!