Today was a bit of a slow day–I still cannot get Media Center 11 to run under Wine–so I thought I might give a shot to get mt-daapd to serve up files to a daap enabled client on Windows. iTunes is the obvious choice for a client but the UI sucks so bad that I want to slam my hands in a drawer and staple my eyes shut but luckily a kind soul has made a plugin for Winamp which makes me happy.
Here’s how it went down:
Server Side:
- Make sure you are running SSH and if your not ask yourself why.
- Grab mt-daapd and take care of any dependencies:
libsqlite0
libsqlite0-dev
gawk
gcc (this will install gcc-4.0)
libid3tag0-dev
libgdbm-dev
- Edit /etc/mt-daapd.conf to your liking such as mp3_dir and servername
- Grab Avahi and take care of any dependencies:
avahi-daemon
avahi-utils
libnss-mdns
- Edit /etc/nsswitch.conf to ensure that mdns is on the hosts line:
hosts: files dns mdns
- Give dbus a kick: sudo invoke-rc.d dbus restart
- Get your avahi-daemon running: sudo invoke-rc.d avahi-daemon start
- Fire up mt-daapd: sudo mt-daapd
Client Side
- Get yourself a copy of iTunes, only if you are a masochist, or snag Winamp with the DAAP plugin if you love yourself.
- Install Rendezvous Proxy and configure it (you need this to fool the client into thinking that the mt-daap server is on the same subnet):
IP Address - 127.0.0.1
Port - 3689
Host Label - Your_DAAP_Server_Name_Here
Service Type - daap - Set up a tunnel with Putty for port 3689, which is just like doing it for TightVNC.
- Fire up iTunes or Winamp and wait for it to stumble onto your DAAP shares.
Well, that’s it in a nutshell.
Cribbed from James Henstridge’s write up about Avahi on Breezy, this thread, and this one.
**Update**
If Avahi seemingly won’t start check /etc/default/avahi-daemon and make sure it reads: AVAHI_DAEMON_START=1




Thanks for the HOWTO, that worked wonders. I no longer need to get up to put on music from my mac book.
Hey, alright! Glad it worked out for you!