Blog

How to set up an iTunes server on Debian Linux

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

(No votes yet)



Login to leave your comments

Please login

Username
Password
  Remember me
Reset password | Send activation code

Related items

Auto-NDISwrapper eases Linux wifi
Auto-NDISwrapper eases Linux wifi
The easylinuxwifi.org project has launched... no votes (No votes)
Twitter growing rapidly in UK
Twitter growing rapidly in UK
While many regard it as pointless, the UK ... no votes (No votes)
How to use your iPhone as a remote control
How to use your iPhone as a remote control
Want to use your iPhone or iPod Touch to c... no votes (No votes)
How to install software on Ubuntu Linux
How to install software on Ubuntu Linux
Ubuntu is one of the easiest Linux distrib... 5 (1 vote)
How to keep your Ubuntu Linux system up to date
How to keep your Ubuntu Linux system up to date
Ubuntu makes it really easy to keep your s... no votes (No votes)

Recently added

How to create a Linux iPlayer download GUI using Zenity
How to create a Linux iPlayer download GUI using Zenity
Here's how I created a simple graphical ut... no votes (No votes)
A taste of iPhone support coming in Ubuntu Lucid Lynx
A taste of iPhone support coming in Ubuntu Lucid Lynx
Ubuntu's Lucid Lynx release, which comes o... no votes (No votes)
Frequently asked questions on NexentaCore
Frequently asked questions on NexentaCore
Frequently asked questions about NexentaCo... no votes (No votes)
Create a video transcoder GUI with Zenity and ffmpeg
Create a video transcoder GUI with Zenity and ffmpeg
Create a GUI application for your Linux co... 4 (1 vote)

Most viewed


Recent comments


Analytics sites

Analytics for Marketers
Analytics for Marketers
A companion site for the bo...
Occams Razor
Occams Razor
Avinash Kaushik is the co-f...
VKI Studios
VKI Studios
VKI Studios was founded in ...