Posts Tagged ‘fireflymediaserver’

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /home/public/blog/wp-content/themes/eric-cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /home/public/blog/wp-content/themes/eric-cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /home/public/blog/wp-content/themes/eric-cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /home/public/blog/wp-content/themes/eric-cordobo-green-park-2/archive.php on line 32
class="post-1617 post type-post status-publish format-standard hentry category-technology tag-fireflymediaserver tag-forked-daapd tag-itunes tag-mt-daapd tag-music tag-ubuntu">

Setting up Ubuntu as an iTunes music server

November 20th, 2011

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:

  1. Install the forked-daapd package. From the command line, you can do this:
    sudo apt-get install forked-daapd
  2. 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.
  3. 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!