Shairport

Shairport is a utility for emulating AirPlay functionality on Linux. However, since it has been created by reverse-engineering Apple's key used in its AirPort Express, be advised that the functionality may be removed at Apple's discretion. ShairPort does not support AirPlay v2 (video and photo streaming).

Installation

You can install Shairport with the shairport-git package from the AUR.

Configuration

The configuration file can be found at /etc/conf.d/shairport. Add the following to set a name for your server.

/etc/conf.d/shairport
# Shairport Daemon options

# SHAIRPORT_ARGS - any additional shairport arguments that
# you would like to be loaded. See shairport --help for more info
SHAIRPORT_ARGS="-a 'My Server Name'"

Name your Shairport server, then start the service:

# systemctl start shairport