如何把小爱音箱升级为 AirPlay 音箱?
AirConnect项目,它可以跨平台使用,安装后同一局域网下的所有 UPnP/DLNA 和 Chromecast 音频设备都将具备 AirPlay 功能。
官网介绍:
AirConnect: Send audio to UPnP/Sonos/Chromecast players using AirPlay
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, Linux -x86, x64 and ARM, 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 or flac. Most players will not display metadata (artist, title, album ...) except when mp3 re-encoding is used and for UPnP/DLNA devices that support icy protocol. Chromecast players do not support this (yet).
从介绍文档上可以看到,AirConnect 支持多平台,个人推荐使用一些可以 24 小时开机的低功耗设备,如NAS、树莓派、「安卓派」,甚至是 arm 架构的智能路由器。下文以 Linux 系统为例,其他操作系统请参考 GitHub 的说明文档。
我选择的是在NAS Docker上安装AirConnect
image.png image.png完美airplay!