Turn your Raspberry Pi into a Music Server!

Hey Guys!
In this post, I'm going to make a Music Server with your Raspberry Pi. These instructions apply to Debian Linux as well so if you don't have a Raspberry Pi, you can still do this on Debian and its derivatives (Ubuntu, for example).

The software I'll be installing is Music Player Daemon. It runs on the server computer and loads music files stored on the server (the Raspberry Pi in this case).

First, update the software repositories:
sudo apt-get update
Then, once that's done, install MPD using:
sudo apt-get install mpd
Wait for it to finish. Once that's done, edit the default configuration file using:
sudo nano /etc/mpd.conf
Change the following lines:
music_directory "/path/to/your/music/files"
bind_to_address "any"
Once done, restart the MPD service with:
sudo service mpd restart
Next, connect a speaker to the Raspberry Pi audio jack. Then, find an MPD client for your OS (List of clients). Set up the client with the Raspberry Pi's IP address and choose a song. If everything is set up properly, the song will start playing on the speaker connected to the Raspberry Pi.

Thanks for reading!
-Technohacker
 

Comments

Popular Posts