Ubuntu – Airplay from Ubuntu 14.10 to Speakers

airplaypulseaudiosettingssoundspeakers

I would like to stream music from my Ubuntu 14.10 machine to Airplay speakers. I followed the instructions here. After doing so, I can see the Airplay speakers to which I'd like to connect in both System Settings>Sound and/or Pulseaudio Volume Control. I can even select them in those settings.

HOWEVER, when I select the Airplay speakers in either System Settings or Pulseaudio, two things happen:

  1. The media player pauses. This happens in any media player: FireFox playing Pandora.com or Pithos or any other. Somehow, simply selecting the Airplay speaker pauses the player, and you cannot restart it. This happens every time the Airplay speakers are selected (note: I've tried this with numerous AirPlay speakers, so they are not the problem).
  2. The volume for the regular speakers is set at 0. No idea why.

Most guides that I've read say that all you need to do is what is described in the link — essentially install Pulseaudio Volume Control and Pulseaudio Preferences, then enable Airplay in the latter.

But it doesn't work for me. I've tried this on two different installs of 14.10, with the same fail. This guy seemed to have a similar problem, but no one responded to his post.

Please help me get this to work? It's killing me.

Best Answer

Takkat provided the answer as a comment, so I am writing this "answer" to close out my question. Basically, AirPlay is not currently functioning with Pulseaudio without hack. BUT if DLNA is available on your speakers, which they are on any old Android phone connected to speakers, you can do this:

sudo add-apt-repository ppa:qos/pulseaudio-dlna
sudo apt-get update && sudo apt-get install pulseaudio-dlna
pulseaudio-dlna

NOTE: the last command turns it on

NOTE2: dependencies for pulseaudio-dlna are listed here

Then you can open either PulseAudioVolumeControl, or just Settings>Volume and select your device.

I'm using BubbleUPnP on my Android. Please note that you need to turn on BubbleUPnP on the Android before you start pulseaudio-dlna, else it won't be able to see the renderer.

Related Question