If you’re like me, you’ve got a home network with a couple computers and a buttload of music in MP3, OGG, and FLAC format sitting on your Ubuntu server. You want to be able to keep all your music on that server, but play it from any computer.
What to do?
There’s a few solutions to this. If you want your music to play anywhere in the world, you can use Ampache. Ampache works great with Winamp and many other players. But on the downside, it requires some tricky setup and doesn’t work nicely with iTunes.
Another option is Forked-daapd, a strangely named piece of software that allows sharing your music with iTunes on a local network. It also works with iTunes compatible software such as Rhythmbox. Best of all, it’s super easy to setup.
This is all you have to do:
- Install the forked-daapd package. From the command line, you can do this:
sudo apt-get install forked-daapd
- Edit /etc/forked-daapd.conf as root. Directions are in the file, but you’ll want to edit the directory to point to the path(s) of your music folders (it will recursively scan subfolders for mp3s, etc.) You may want to enable transcoding if you have OGG, FLAC or other formats that iTunes doesn’t like. Oh, and don’t forget to change the name of the share to something more fun.
- Restart forked-daapd with
sudo /etc/init.d/forked-daapd restart
Now open iTunes and see if your server appears. It should show up on the sidebar. If you click on it, there will be a handful of songs almost immediately. It may take a while for Forked-daapd to index all your music, so be patient.
That’s it! Now you’re ready to party!