What happens when you combine your EON ZFS storage with
Firefly's media server/mt-daapd, the opensource iTunes server? Music to everyone's ears!
I previously covered
apps to make your EON ZFS storage work for you and someone stated mt-daapd would be nice. So here it is. You can download the 32-bit
mt-daapd svn_1696 here (md5sum: 6aafee73058f7628cbf3fb0199a5c162). This version supports mp3, flac, oggvorbis, mdns and more. To install and start mt-daapd after transferring
mt-daapd-1696.tgz to your zpool (substitute your zpool name wherever abyss is seen), repeat the following:
(cd /abyss ; mkdir media)
(cd /opt ; ln -s ../abyss/media .)
This creates the symlink /opt/media to the location for mt-daapd (/abyss/media in this case). Now let's unpack the mt-daapd-1696.tgz package. In this case my file was located in /tmp/mt-daapd-1696.tgz.
cd /opt/media
gzip -dc /tmp/mt-daapd-1696.tgz | tar -xf -
That should've unpacked the following structure in /opt/media, as seen by ls -al
drwxr-xr-x 8 admin stor 8 Sep 23 14:54 .
drwxrwxrwx 12 root root 21 Sep 23 13:57 ..
drwxr-xr-x 2 root root 13 Sep 23 13:55 bin
drwxr-xr-x 2 root root 3 Sep 23 13:00 etc
drwxr-xr-x 5 root root 49 Sep 23 13:55 lib
drwxr-xr-x 2 root root 3 Sep 23 13:55 sbin
drwxr-xr-x 4 root root 4 Sep 23 14:15 share
Now let's start the server as user,
root. This will create an additional var directory with the proper permissions:
./sbin/mt-daapd
To check and configure it, point your browser to the EON storage IP address as
http://eonstorageIP:3689. You should be greeted with a login window. Enter the user:
admin and password:
mt-daapd. These are the default account credentials which you should change after logging in. Now, all that is left, is to go to the
configuration tab, enter the path to your music library and allow the Firefly media server to rescan. This could take a while depending on the size of your music collection. You can now use iTunes and
Roku Soundbridge to unleash the music kept on your EON ZFS storage. If you have
zerconf or
multi-cast DNS clients on your network you can optionally advertise your Firefly server to the network by running the multi-cast DNS server on EON
/usr/lib/inet/mdnsd
and to view http services on your network
dns-sd -B _http._tcp .
Browsing for _http._tcp
Timestamp A/R Flags if Domain Service Type Instance Name
22:14:01.525 Add 2 2 local. _http._tcp. Firefly svn-1696 on eon
You should see the Firefly media server listed. For now, let the music play!