2017-08-13 12:15:26 +02:00
|
|
|
shairplay
|
|
|
|
=========
|
|
|
|
|
|
|
|
[Shairplay][1] is a free portable AirPlay server implementation similar to [ShairPort][2].
|
|
|
|
Currently only AirPort Express emulation is supported.
|
|
|
|
|
2017-08-13 13:28:20 +02:00
|
|
|
## docker-compose.yml
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
shairplay:
|
|
|
|
image: easypi/shairplay-arm
|
|
|
|
devices:
|
|
|
|
- /dev/snd
|
2017-10-01 09:05:58 +02:00
|
|
|
environment:
|
|
|
|
- APNAME=EasyPi
|
2017-08-13 13:28:20 +02:00
|
|
|
net: host
|
|
|
|
restart: unless-stopped
|
|
|
|
```
|
|
|
|
|
2017-10-01 08:56:07 +02:00
|
|
|
## Quick Start
|
|
|
|
|
|
|
|
On MacOSX: click 🔉 to show a list of output devices, then click `EasyPi` to connect.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# Enable Audio
|
|
|
|
$ grep audio /boot/config.txt
|
|
|
|
dtparam=audio=on
|
|
|
|
|
|
|
|
# Start Container
|
|
|
|
$ docker-compose up -d
|
|
|
|
|
|
|
|
# Control Volume
|
|
|
|
$ docker-compose exec shairplay alsamixer
|
|
|
|
>>> Press ↑ to volume up
|
|
|
|
>>> Press ↓ to volume down
|
|
|
|
>>> Press ESC to quit
|
|
|
|
```
|
|
|
|
|
2017-08-13 12:15:26 +02:00
|
|
|
[1]: https://github.com/juhovh/shairplay
|
|
|
|
[2]: https://github.com/abrasive/shairport
|