lifehacker has a great tutorial up on how to make your own DIY music streaming service using your Raspberry Pi.
If you’re sick of dealing with carrying around a massive library of music on your smartphone and you don’t want to pay for a service like Google Music, the Raspberry Pi can work as a music server. With a little work, you can make all your MP3s available to you regardless of where you are. Here’s how to set it up.
What You’ll Need
- Raspberry Pi: If you’re not sure where to buy one, check out our introduction to the Pi for more info.
- A 4GB SD card: You’ll need something to install the operating system onto. This page tells you which SD cards are compatible with the Pi.
- Ethernet cable or Wi-Fi adapter: You’ll need the internet to set up and run your music streaming service.
- USB keyboard: You’ll just need it for the initial setup.
- iOS or Android device, or computer to stream to: The purpose of this service is to send your music from your Raspberry Pi to your remote devices, so you’ll want to have some remote devices.
- A $1/month subscription to Subsonic Premium: After testing a bunch of free options options for setting up a music server on the Raspberry Pi, Subsonic won out by being the easiest to use with the best support. While there is a monthly fee for streaming your music over the internet, Subsonic is free to check out for 30 days.
- A place to store your music: Your Raspberry Pi will feed your music to the outside, but you’ll still need to actually store those MP3s somewhere. This could be a NAS or external hard drive.
What You’ll Get
When you’re done, you’ll have access to your entire music library from anywhere you have an internet connection, all through a tiny box in your house hooked up to your router. To do this we’ll install Subsonic on the Raspberry Pi. You can then access your library of music from apps on your smartphone or a computer. You can also share that library with friends, create playlists together, and more. Essentially, it’ll be your own private little Spotify-like service (or, perhaps more accurately, Google Music).P
Subsonic works on any computer, but it’s especially handy on the Raspberry Pi because you don’t need to worry about the cost of running your computer all the time, or about exposing your main computer to the internet. With the Raspberry Pi, you can set it up, tuck it away in a corner somewhere, and leave it on 24/7 without worrying too much about it.
See the full tutorial here.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!