Use these applications to add AirPlay capabilities to Chromecast and UPnP (like Sonos) players, to make them appear as AirPlay devices.
AirConnect can run on any machine that has access to your local network (Windows, MacOS x86 and arm64, Linux x86, x86_64, arm, aarch64, sparc, mips, powerpc, Solaris and FreeBSD). It does not need to be on your main computer. (For example, a Raspberry Pi works well). It will detect UPnP/Sonos/Chromecast players, create as many virtual AirPlay devices as needed, and act as a bridge/proxy between AirPlay clients (iPhone, iPad, iTunes, MacOS, AirFoil ...) and the real UPnP/Sonos/Chromecast players.
The audio, after being decoded from alac, can be sent in plain, or re-encoded using mp3, aac or flac. Most players will not display metadata (artist, title, album, artwork ...) except when mp3 or aac re-encoding are used and for UPnP/DLNA devices that support icy protocol. Chromecast players support this after version 1.1.x
-
Pre-built binaries are in
AirConnect-<X.Y.Z>.zip. It can be downloaded manually in a terminal by typingwget https://raw.githubusercontent.com/philippe44/AirConnect/master/AirConnect-<X.Y.Z>.zip. Unzip the file an select the binary that works for your system.- For Chromecast, the file is
aircast-<os>-<cpu>(soaircast-macos-x86_64for Chromecast on MacOS + Intel CPU) - For UPnP/Sonos, the file is
airupnp-<os>-<cpu>(soairupnp-macos-arm64for UPnP/Sonos on MacOS + arm CPU)
- For Chromecast, the file is
-
There is a "-static" version of each application that has all static libraries built-in. Use of these is (really) not recommended unless the regular version fails. For MacOS users, you need to install openSSL and do the following steps to use the dynamic load library version:
- install openssl:
brew install openssl. This creates libraries (or at least links) into/usr/local/opt/openssl[/x.y.z]/libwhere optional 'x.y.z' is a version number - create links to these libraries:
- install openssl: