Skip to content

Instantly share code, notes, and snippets.

@frnsys
Created April 4, 2019 17:20
Show Gist options
  • Save frnsys/6cb0c49471fb43501b9d0d8cd545f585 to your computer and use it in GitHub Desktop.
Save frnsys/6cb0c49471fb43501b9d0d8cd545f585 to your computer and use it in GitHub Desktop.

Installed:

sudo apt install pulseaudio-module-raop paprefs

Ran paprefs and check the option to use AirPlay speakers locally.

Restarted pulseaudio:

pulseaudio -k

# (may not be necessary
# if yours auto-restarts)
pulseaudio --start

Opened the controls (pavucontrol) and saw the AirPlay speakers.

Main issue is that if I stream to those speakers, whatever I'm playing stops and playback doesn't work.

After a lot of digging, this was the issue: https://askubuntu.com/questions/1029951/wrong-ip-for-airport-express-v1-airplay-in-pulseaudio-raop-ubuntu-18-04

The AirPlay IP displayed in pavucontrol was something like 169.254.xx.xx (really unusual, rather than 192.168.xx.xx).

Based on that link, I did:

sudo apt install avahi-autoipd

Then ran:

sudo avahi-autoipd --force-bind wlan0

which sets up an appropriate address or something (not totally clear on what it's doing).

So I have to leave that running for it to connect properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment