HOWTO: Setting up MT-DAAPD on Ubuntu 5.10 - Matt's Blog

HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

2006/03/04 - Updated for iTunes 6.0.4 breakage

DAAP, or Digital Audio Access Protocol, is Apple's protocol for streaming audio from iTunes to other compatible devices and clients. There are many versions of DAAP daemons/servers; as listed here; however this HOWTO covers the configuration of MT-DAAPD on Ubuntu.

I've chosen MT-DAAPD over my previous favorite
DAAPD because MT-DAAPD is better maintained (in my opinion) and it has groovy features like:

       Supports the Roku SoundBridge (query/browse/index support)
       Supports periodic rescans of the database
       Can advertise shoutcast streams
       Is web-configurable and managable
       Support dynamic playlists, like iTunes "Smart playlists"

Notes:

  • There are other HOWTO's available here and here; however this one is much simpler and has been easily reproduced on many installs.
  • I will also be giving the CLI commands so that you can do this install without a GUI installed.
    • All CLI commands will be indented and use this font.
    • CLI commands start with '$'to indicate the beginning of the command. Do not copy and paste the '$' into your CLI as it won't work.

First install the pre-requisite ID3 tag manipulation library:

$sudo apt-get install libid3tag0

Download the latest Debian package from Sourceforge. (Check here for the latest.)

$wget http://prdownloads.sourceforge.net/mt-daapd/mt-daapd_0.2.4-1_i386.deb?download

Install the package with dpkg:

$sudo dpkg -i /path/to/mt-daapd_0.2.4-1_i386.deb

Once the package is installed; open up the config file in VI (or GEdit if using a GUI):

$sudo vi /etc/mt-daapd.conf

Look out for the following sections and customise them to your needs. (There are other fields you can change, however these are just the basic one to get your server up and running.)

#

# mp3_dir (required)

#

# Location of the mp3 files to share.  Note that because the

# files are stored in the database by inode, these must be

# in the same physical filesystem.

#

mp3_dir                       /path/to/music

#

# servername (required)

#

# This is both the name of the server as advertised

# via rendezvous, and the name of the database

# exported via DAAP.  Also know as "What shows up in iTunes".

#

servername      My Jukebox

 

Since I run a dedicated DAAP server I normally set the re-scan option in the config file to auto-scan every 3600 seconds so that it will pick up any new files I copy there.

Restart the daemon to apply the new config file:

 

$sudo /etc/init.d/mt-daapd restart

Your DAAP server is configured! Fire up iTunes and start enjoying.

 

To access the web administration hit the URL below:

http://localhost:3689/

username: admin

password: mt-daapd

 

I run this configuration at home with my 54Mb/s wireless network so that I can stream my music to any room in the house. I normally perch my notebook on top of my HiFi and play the music through there. (Just make sure you secure your WLAN so your neighbours don't get free music... if you don't want them to;)

Published Monday, November 21, 2005 2:50 PM by matt
Filed under: ,

Comments

# iTunes client for Linux

Sunday, November 27, 2005 11:17 PM by Matt's Blog



I've finally found a decent DAAP
capable client for linux, so as a follow up to my recent
article...

# re: HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

Wednesday, November 30, 2005 10:06 PM by Adam
Great howto, thank you!

My only comment is, I don't have a /home/matt, so ./mt-daab*deb worked. ;)

# re: HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

Tuesday, December 06, 2005 7:41 PM by Damon
On my install, the libc version wasn't high enough and I got a dependency error when I tried to install mt-daapd. I used the --force-depends option for dpkg and everything seems to be working...

# re: HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

Monday, December 12, 2005 12:59 AM by Turk
I found GIT, is there anything better out there?

# re: Linux client = Rythmbox 0.9.2

Tuesday, January 03, 2006 7:00 AM by Alan Pater
http://gridpt1.fe.up.pt/mlopes/blog/index.php/2005/12/24/rhythmbox-092-deb-for-ubuntu-breezy/

The latest Rythmbox works good for me.

# re: HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

Friday, January 06, 2006 8:30 PM by ecb
Works great with Breazy Badger! Thank you for the hard work.

# re: HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

Monday, February 27, 2006 11:42 PM by Jereme
Thank you for this wonderfully helpful guide.  It went right into Breezy like a... well... like a breeze.  Hell..  Pun even intended. --j

# Bill (??????) » Serve Music Direct to iTunes

Tuesday, March 21, 2006 2:17 AM by Bill (??????) » Serve Music Direct to iTunes
PingBack from http://www.billglover.co.uk/archives/2006/03/21/479

# re: HOWTO: Setting up MT-DAAPD on Ubuntu 5.10

Saturday, April 29, 2006 8:40 PM by Ed
Perfect! Thank you very much, this helped a lot.
A minor flaw in your guide: the link to latest debian package for mt-daapd@sourceforge points to old 0.2.3 version, which is not working with iTunes 6.0.4...

# Personal Bytes » Blog Archive mt-daapd »

Wednesday, June 14, 2006 2:24 AM by Personal Bytes » Blog Archive mt-daapd »
PingBack from http://gridpt1.fe.up.pt/mlopes/blog/index.php/2006/06/14/mt-daap-ubuntu/

# My Ghillie » HOWTO: Setting up MT-DAAPD on Ubuntu 5.10 - Matt’s Blog

Pingback from  My Ghillie » HOWTO: Setting up MT-DAAPD on Ubuntu 5.10 - Matt’s Blog

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above:
Powered by Community Server (Commercial Edition), by Telligent Systems