iTunes server on FreeBSD 8.1

Lars Sommer,

Making your FreeBSD server serve music for your Apple OSX clients and others with iTunes installed.

Install the port:

Edit the config file:
vi /usr/local/etc/mt-daapd.conf

Set the servername line to whatever name your what to see in your iTunes:
servername Tolv

Set the line starting with mp3_dir to the directory of your music collection.

As I have multiple folders with music in, I kept the original line, and then symlinked my music folders into that directory instead:
mp3_dir /usr/local/share/mt-daapd
and then I have:
ln -s /mnt/tolv.data1/Music /usr/local/share/mt-daapd/Music1
ln -s /mnt/tolv.data2/Music /usr/local/share/mt-daapd/Music2
ls -l /usr/local/share/mt-daapd/
lrwxr-xr-x 1 root daapd 21 Aug 2 14:54 Music1 -> /mnt/tolv.data1/Music
lrwxr-xr-x 1 root daapd 18 Aug 2 14:54 Music2 -> /mnt/tolv.data2/Music

It makes one big collection when it turns up in iTunes anyway..

Add to rc.conf:

Skriv et svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *