jump to navigation

Share Music in a Network using Avahi (DAAP) September 22, 2006

Posted by Carthik in applications, guides, music, packages, ubuntu.
trackback

Okay, so I have a desktop with around 50 Gigs of music. I also have a laptop on which I work most of the time, from various places in and around the house. I did not want to (and don’t have the space to) copy the songs onto the Laptop. So I went looking for a simple way to share my music over the Network.

I found that rhythmbox supports DAAP, the same technology that Apple uses with iTunes to enable sharing.

To enable sharing, install the avahi daemon on the desktop using:
$sudo apt-get install avahi-daemon

Now, in Rhythmbox, go to Edit->Preferences->Sharing(which is a tab) and select “Share my music”.

Avahi is the name of the project that brings DAAP (aka rendezvous or zeroconf) to Linux.

You’re all set! Now when you use Rhtyhmbox on the laptop, or any other system in your network, the music collection on the desktop should appear when you start it up in the “Source” pane on the left! Og’s post was one of the many pages I hit when I was searching for a solution. He even has a screenshot showing how the shared directory shows up.

If you want to share music using Banshee, install the banshee-daap package which provides a plugin for DAAP music sharing.

The only caveat is, even when you use this, Rhythmbox has to be running on your desktop for the files to show up elsewhere. If that bothers you, then see how Tangerine can help you. From the website, we get the following description:

Tangerine is an application that allows you to publish music over the local network, using DAAP. It runs on both Linux and Windows. There are several clients that you can then use to connect to it, such as Apple’s iTunes, Banshee, and Rhythmbox.

Music files can be specified either by a directory, or can be automatically discovered using Beagle or Google Desktop. Recently you can also specify which music player you use and share the songs in it’s collection. For typical configurations, a graphical tool is included (see below).

As far as I know, the stable version of Amarok, my favorite music manager, does not have any support for DAAP, either as a server(for the desktop) or as a client(for other computers to access shared stuff).

Comments»

1. Diego - September 22, 2006

The latest version of Amarok features daap-client. Grab it form backports on kubuntu site.

2. Frank - September 22, 2006

Instead of tangerine you can also use mt-daapd, which is a flexible daemon not written in C# that will also share files in the background.

http://www.mt-daapd.org/

3. Reid - September 22, 2006

DAAP is not rendezvous/zeroconf(/bonour).

DAAP announces itself using bonjour (formerly rendezvous and a.k.a. zeroconf), but then so does Apache if you run the bonjour module.

4. krishna kumar - September 23, 2006

If you are willing to give up DAAP, MPD is a good choice.

5. Ben - September 23, 2006

Seconded for mt-daapd, and it’s apt-get’able. Running on my headless server, providing music to my desktop & laptop.

6. podious - September 25, 2006

AAAAACK! You changed your theme! Not my cup of tea, really, but as long as you keep those great posts coming I don’t mind! 🙂

7. ubuntonista - September 25, 2006

podious,
Since you cared, and you don’t like it, we are back to normal. Every once in a while, I get the urge to shed the old skin and get something new and shiny 🙂

8. ArsGeek :: Share Music in a Network using Avahi (DAAP) Debian/Ubuntu - September 25, 2006

[…] read more | digg story […]

9. Matt - September 28, 2006

Check my easy HowTo on my blog on setting up MT-DAAPD on UBuntu.

http://dotnet.org.za/matt/articles/48417.aspx

10. Wishmaster - October 7, 2006

Is possible to use this with Amarok?

11. Linux-ohjelmat - October 8, 2006
12. Aleksandersen - October 19, 2006

I have never gotten Banshee’s, LimeWire’s nor iTunes’ DAAP to talk to each other. I only seam to get them to talk to matching clients. Banshee talks to Banshee and LimeWire talks to LimeWire… iTunes does not talk to any other software’s use of DAAP.

It is a shame that they do not work together properly.

13. subzero79 - October 25, 2006

I’ve always have trouble with daap and rhythmbox & firestarter. I found this solution from a blog beacuse. Is a fix in the iptables. It cannot be done from the firestarter GUI, this because firestarter doesn’t suppport opening mDNS. You have to edit:
/etc/firestarter/user-pre

then add the following lines

$IPT -A INPUT -p udp –dport 5353 -d 224.0.0.251 -j ACCEPT
$IPT -A OUTPUT -p udp –dport 5353 -d 224.0.0.251 -j ACCEPT

14. Elliot - October 25, 2006

Just to report: I have tried Banshee, Rhythmbox, and Amarok with Avahi and neither can successfully communicate with iTunes/Mac. The names on the server will show up but there will be no music inside. Amarok fails with “Permission denied”. Still searching for an answer.

15. Adamski - November 28, 2006

Nice 1, this worked a treat for sharing music at work.
Thanks!

16. fourat - December 5, 2006

Instead of using these, i’ve enabled a GNUMP3D server in our network so everyone can stram MP3s as radio on any application, win/linux/mac …
MP3 and OGG repo is updatable by everyone from an anonymous ftp access

17. Nilesh Trivedi - May 29, 2007

How can I save files which have been shared by others using DAAP?

Thanks

18. Wezp Directory - June 9, 2007

Instead of tangerine you can also use mt-daapd, which is a flexible daemon not written in C# that will also share files in the background.
http://www.wezp.com

19. ecartman - September 28, 2007

thanks for the info on tangerine, works fine, only thing I could get to.

Cart

20. Norman Ramsey - December 7, 2007

Can the gnump3d server be advertised using avahi somehow?

21. ryan - February 7, 2008

itunes 7 and up encrypts it’s share and will only talk to other itunes 7 and higher clients. Use iTumes 6 or one of the linux programs as your daap server instead of iTunes 7.

22. simon - March 5, 2008

Works fine one way -> rhythmbox to iTunes running on Mac. On Linux, I can see the Mac, but see no music for the connection although it’s shared on the other side. I think iTunes 7 is used.

23. Directorio Geobloog » Blog Archive » Wordpress Music - March 14, 2008

[…] Share Music in a Network using Avahi (DAAP) « Ubuntu Blog […]

24. Brian Jermaine - April 23, 2008
25. Petter - July 1, 2008

This seems to be EXACTLY what I need! My laptop runs WinXP with iTunes. I also need to be able to add a few songs to my laptop in case i want to leave the house. Is there some pain-in-the-a…. protection preventing this?

26. Bob - October 25, 2008

Hi

27. shanereiser - January 27, 2009

Do you think DAAP is the key to getting the Apple TV to recognize media on a Linux computer? I would be indebted to the person who helps me figure that out.

28. Rinse - March 25, 2009

Shanereiser, i think Avahi is the method you are looking for.
You can find it on :

http://www.zaphu.com/2008/04/29/ubuntu-guide-configure-avahi-to-broadcast-services-via-bonjour-to-mac-os-x/

29. shanereiser - March 25, 2009

Rinse – I’ll be looking into Avahi tonight. Thanks for your help.

30. zach - May 1, 2009

so how do you to this backwards? the mp3s on a windows box, trying to play on ubuntu?

31. Bitterjug - March 20, 2010

Awesome, thanks so much, I’m listening to my music now remotely and without all the traffic of trying to index it over the network. Fantastic.

32. sikiş izle - September 26, 2010

If you are willing to give up DAAP, MPD is a good choice.

33. antalya ilaçlama - September 27, 2010

Seconded for mt-daapd, and it’s apt-get’able. Running on my headless server, providing music to my desktop & laptop.

34. porno sikiş - September 27, 2010

podious,
Since you cared, and you don’t like it, we are back to normal. Every once in a while, I get the urge to shed the old skin and get something new and shiny

35. sex sikiş - September 28, 2010

so how do you to this backwards? the mp3s on a windows box, trying to play on ubuntu?

36. mt-daapd, and firewalls - December 9, 2010

[…] from: https://embraceubuntu.com/2006/09/22/…/#comment-8907 I found this solution from a blog beacuse. Is a fix in the iptables. It cannot be done from the […]

37. Lab Bahasa Malang - November 11, 2015

MPD is a good choice

38. Lab Bahasa - November 11, 2015

up, that right

39. Aroket - April 20, 2016

yeay!! thats right

40. تحميل افلام - September 12, 2017

Hello,I check your blog named “Share Music in a Network using Avahi (DAAP) | Ubuntu Blog” on a regular basis.Your story-telling style is witty, keep up the good work! And you can look our website about تحميل افلام.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: