daap (itunes music sharing)

Benjamin Meyer ben at meyerhome.net
Tue Mar 1 01:19:05 GMT 2005


This evening I added to kdeplayground-multimedia a daap directory.  :)  daap 
is a music streaming protocol (fancy http).  daap is most known for being 
used in apple's iTunes.  Included in the daap directory is an ioslave that 
lets you (via kde new 3.4 zeroconf classes) see all the local computers that 
have a daap share and then explore them and you can even play (or download) 
the songs right from the ioslave.

Of course the required screenshots:
 http://www.icefox.net/gallery/phpquickgallery/?gallery=2005%2FDAAP+ioslave/

Also included (and a bit more valuable)  is a library libdaapclient which 
includes a nice simple class (DaapClient) that can be used to connect to a 
daap server (use kde's already built into kdelibs zeroconf classes for 
finding the servers) and get a list of all the tracks.  What is cool about 
this is that the list of tracks includes the artist, album, track number etc 
(what you would expect to get from the id3 info in a mp3).  So media players 
(juk, noatun, etc) can easily intigrate daap browsing as a "special" playlist 
or whatnot.

If you don't have a friend that has itunes (cough/windows/cough) you can 
install daapd (http://www.deleet.de/projekte/daap/daapd/) on another 
computer.  note that daapd uses howl which is why you can't run it on the 
same computer.  This is of course is the next task in this project :)   To 
take daapd and have it work with apple's mdns server and so applications can 
share playlists through api calls or dcop or something (v.s. the 
configuration in /etc and auto-refreshing every 60 seconds).

-Benjamin Meyer   

-- 
aka icefox
Public Key: http://www.icefox.net/public_key.asc



More information about the kde-multimedia mailing list