This guide will show you how to set up an iTunes compatible (daapd) server on the TonidoPlug 2.
There are currently two stable flavors of open source, Linux based, iTunes Servers: mt-daapd and forked-daapd.
mt-daapd is the original open source project. It is stable, but has not been updated since 2007. No bugs have been fixed and there are no plans to update it. It is not compatible with iTunes 10.5.1, and may not work well with newer Apple devices that run on iOS like the Apple TV 2 and iPad. It does work with iTunes 10.4.x
forked-daapd is an update and re-write of the mt-daapd project. It began with the original code but has been significantly rewritten to improve stability and performance, fix bugs, and add features. It designed to work well with all the latest Apple devices and protocols. It is under active development but is a less mature project – there may be bugs but, they are likely to be fixed quickly. Not all of the features of mt-daapd are enabled; for example, there is no web gui yet. forked-daapd is fully compatible with iTunes 10.5.1.
This guide will show you how to install both of them. You should not install both on the same plug.
Sources: http://en.wikipedia.org/wiki/Firefly_Media_Server, https://github.com/jasonmc/forked-daapd#readme, http://blog.technologeek.org/2009/06/12/217
2. Open your repository sources.list file in nano.
cd / nano /etc/apt/sources.list
3. Add the Debian Squeeze back-port repositories to the sources.list. The most recent builds of forked-daap are only available as back-ports to Squeeze.
Add the following line at end of the sources list:
deb http://backports.debian.org/debian-backports squeeze-backports main
4. Save and exit nano.
CRTL-o ENTER CTRL-x
5. Install forked-daapd.
apt-get update apt-get upgrade apt-get -t squeeze-backports install forked-daapd
6. Set up a directory to store your music and media, and change the permissions so the daapd server can access it. You can put it anywhere. /home or /srv are good places.
Example:
mkdir /home/music chmod –R 775 /home/music
7. Stop the server and edit the config file in nano to specify the directory where your music is stored.
/etc/init.d/forked-daapd stop nano /etc/forked-daapd.conf Change: directory = { "/srv/music" } ex: (using the directory created earlier) directory = { "home/music" }
8. Save, close and start forked-daapd.
CRTL-o ENTER CTRL-x /etc/init.d/forked-daapd start
9. Your library should now be visible in iTunes. You may get a spinning update icon next to the daapd library if there are no files in your music folder. You should copy some files to the music directory to test the server.
Sources: http://blog.technologeek.org/2011/04/09/483, http://blog.technologeek.org/2011/09/11/526
2. Install mt-daapd.
cd / apt-get update apt-get upgrade apt-get install mt-daapd
3. Set up a directory to store your music and media, and change the permissions so the daapd server can access it. You can put them anywhere. /home or /srv are good places.
ex: mkdir /home/music chmod –R 775 /home/music
4. Make copy of the mt-daap config file.
cp /etc/mt-daapd.conf /etc/mt-daapd.conf.orig
5. Stop the server and open the mt-daapd config file in nano for editing.
/etc/init.d/mt-daapd stop nano /etc/mt-daapd.conf
6. Settings you should change:
admin-pw = your_password mp3_dir = your_music_directory ex: mp3_dir = /home/music rescan_interval = 86400 always_scan = 1
7. Save, close and start mt-daapd.
CRTL-o ENTER CTRL-x /etc/init.d/mt-daapd start
8. Your library should now be visible in iTunes. You may get a spinning update icon next to the daapd library if there are no files in your music folder. You should copy some files to the music directory to test the server.
Source: http://www.tonido.com/forum/viewtopic.php?f=37&t=284