Blog
How to set up an iTunes server on Debian Linux

Copyright © TechPad.co.uk
If you want to share your music collection on your local network it's now easier than ever thanks to Firefly Media Server.
Step 1: Install Firefly Media Server
Login to Debian server and become root using the command 'su -' then install the mt-daapd package. This will install Firefly Media Server, a music streaming server using the DAAP protocol.
apt-get install mt-daapd
Step 2: Configure mt-daapd
The configuration settings for Firefly Media Server are stored at /etc/mt-daapd.conf. You'll now need to edit the file and define where your music collection is stored. The settings you'll want to change are mp3_dir (enter the location of your music), rescan_interval (enter the number of seconds to waiting before rescanning the music) and maybe the server name. You'll also want to change the password from the default mt-daapd.
Step 3: Restart mt-daapd
Now that you've got the settings configured, simply restart Firefly by entering mt-daapd restart.
Step 4: Login to the web front end
Go to your server's IP address and access port 3689 using your browser (ie. 192.168.0.99:3689) and login using the admin password. Scan your music using the "full scan" option and leave mt-daapd to index the music.
If it's taking ages and you want to track its progress and check for potential errors try doing this to monitor the log in real-time:
tail -f /var/log/daemon.log
Step 4: Stream your music over the network
After the music has been scanned, which could take a while if your music collection is large, you should see the share name appear in your media player. iTunes obviously works with DAAP, but Rhythmbox on Linux is just as good. Other media players also include this functionality now, as do standalone devices such as the Roku Soundbridge.
With some tweaking, it's also possible to get Firefly to serve video, but support for this is currently a little limited. Check out the Firefly forums for more details.
Published: TechPad.co.uk Tuesday 3 November 2009, 8:04 pm
Views: 632 times
Filed under: Linux Debian servers iTunes networking Firefly
Login to leave your comments
Please login










Recent comments
iplayer-dl is a Ruby application, which will run most easily on Linux or Mac (hence the Mac scree...
TechPad: 18:18 PM Aug 22nd, 2010
I don't understand how to use this. I have vista and firefox. Do I need to copy the iplayer int...
mufc1977: 15:15 PM Aug 21st, 2010
No worries, glad you got the buttons back in their rightful place!
TechPad: 13:13 PM Aug 12th, 2010
Disregard my previous comment: The FIRST time I tried it, it definitely didn't work. After addi...
freshrich: 1:01 AM Aug 10th, 2010
Great tutorial, but it doesn't work with Ubuntu Lucid. The only way I could get it to work was b...
freshrich: 1:01 AM Aug 10th, 2010