Skip to content

Instantly share code, notes, and snippets.

@appelgriebsch
Forked from julianxhokaxhiu/README.md
Created December 29, 2024 11:09
Show Gist options
  • Select an option

  • Save appelgriebsch/95cbc5655bf4df8dd9ac1c5e8c332386 to your computer and use it in GitHub Desktop.

Select an option

Save appelgriebsch/95cbc5655bf4df8dd9ac1c5e8c332386 to your computer and use it in GitHub Desktop.
Enable autodiscover AirPlay Client support on Arch Linux ( like on macOS )

Enable autodiscover AirPlay Client support on Arch Linux ( like on macOS )

Step 1

Install required dependencies

$ pacman -S avahi pulseaudio-zeroconf

Step 2

Enable and Start Avahi daemon

$ systemctl enable --now avahi-daemon.service

Step 3

Enable the required module on Pulseaudio ( paste this at the end of /etc/pulse/default.pa ):

### Enable AirPlay support
load-module module-raop-discover

Step 4

Restart Pulseaudio:

$ systemctl --user restart pulseaudio.service

Step 5

If everything worked fine you should be able to autodiscover all your AirPlay devices and connect to them.

Enjoy!

@appelgriebsch
Copy link
Author

As easy as this:

pactl load-module module-raop-discover

@appelgriebsch
Copy link
Author

To make it persistent add the following content to the file ~/.config/pipewire/pipewire.conf.d/raop-discover.conf

context.modules = [
  {
     name = libpipewire-module-raop-discover
     args = { }
  }
]

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