How can you stream music from Ubuntu to AirPlay speakers on your network with Ubuntu?

22

8

We have AirPlay speakers on our network, that can only be controlled using iTunes for Windows. As I'm booted into Ubuntu, I'd like to be able to control the music being played. Is there any way to do this other than getting a VirtualBox to boot Windows?

stevenmc

Posted 2011-09-02T09:09:49.473

Reputation: 375

Trying out with 12.04 and airbubble on a mb511 https://plus.google.com/u/0/107901537226351854008/posts/a5vamM8WYPQ As you can see pulseaudio recognizes the droid but I got no sound out of it.

– None – 2012-08-12T10:31:00.913

Answers

20

First, install "PulseAudio Preferences" and the PulseAudio RAOP module if you don't already have them:

sudo apt-get install paprefs pulseaudio-module-raop

Now open up paprefs via the launcher (or System > Preferences > PulseAudio Preferences). Now if you enable Make discoverable Apple AirTunes sound devices available locally, you can select AirPlay speakers like any other sound output device!

Matt Sweeney

Posted 2011-09-02T09:09:49.473

Reputation: 301

3And if you're wondering what's the package name for Pulseaudio Preferences it is paprefs – s3v3n – 2014-06-28T16:22:51.757

Worked for me on a fresh 19.10 but could not get it to work on an upgraded 19.10. No idea why. – Max N – 2019-11-27T22:12:13.620

9I have tried this solution but it doesn't worked out on Ubuntu 12.04 (my AirTunes speaker is a Freebox 6, maybe that's why it didn't work as they use Shareplay and not AirPlay).

Anyway, just to complete, you need "sudo apt-get install pulseaudio-module-raop" to have the box clickable. – Damien – 2012-06-25T14:08:53.373

1Just got this working with AppleTV and box with airplay/airfoil speakers. This answer should be accepted @stevenmc – Jonas G. Drange – 2012-08-20T17:16:40.183

5I know this is old, but it came up for me in Google trying to solve this issue. I had to install the raop module as above, and then restart pulseaudio for this to work, with the commands pulseaudio -k and pulseaudio --start. – Dave Child – 2014-01-16T10:13:53.563

3And for the dummies like me, don't forget install PulseAudio Preferences, of course. – Agmenor – 2014-03-22T20:09:26.337