Home Server DAAP (iTunes) server.

Index.

07-Aug-2012: initial release.
16-Dec-2012: adjusted for Slackware.

 

Introduction.

This is a multi-threaded DAAP server, it allows to share audio files with iTunes users. There are also several clients for Linux and Windows. Active development of mt-daapd seems to be stopped, but the source is stable. You could also say that it is finished.

There is a forked-daapd, but that has many dependencies and isn’t stable yet, so I don’t use it.

 

Installation.

The mt-daapd package can be build using a Slackbuild script. I use the stable version. It only depends on libid3tag, gdbm and avahi. I have disabled the use of avahi because it is not used on Slackware.

 

The most important lines in the configuration file /etc/mt-daapd/mt-daapd.conf:

# /etc/mt-daapd/mt-daapd.conf
#
web_root        /usr/share/mt-daapd/admin-root
port            3689
admin_pw        mt-daapd
db_dir          /mnt/media/mt-daapd
mp3_dir         /mnt/media/Audio
servername      homsrv
runas           nobody
playlist        /etc/mt-daapd/playlist
extensions      .mp3,.m4a,.m4p
logfile         /var/log/mt-daapd.log

 

A few remarks about the configuration, the database directory is placed on the same partition as where the mp3 files are. This seems to be important. I also enabled the logfile, If it is disabled then logging goes to syslog and If you are using ossec it might trigger alerts on some music titles.

Start the server and add it to /etc/rc.d/rc.local:

root@homsrv:~# /etc/rc.d/rc.mt-daapd start
Starting DAAP server done. 
root@homsrv:~# echo "[ -x /etc/rc.d/rc.mt-daapd ] && /etc/rc.d/rc.mt-daapd star
t" >> rc.local
root@homsrv:~#

 

Download.

See the download page for the script and configuration files.