1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update shairplay

This commit is contained in:
kev 2017-10-01 14:56:07 +08:00
parent 201e014e16
commit 29a046a427
2 changed files with 21 additions and 1 deletions

View File

@ -6,7 +6,8 @@ FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
RUN set -xe \ RUN set -xe \
&& apk add --no-cache autoconf \ && apk add --no-cache alsa-utils \
autoconf \
automake \ automake \
avahi-dev \ avahi-dev \
build-base \ build-base \

View File

@ -18,5 +18,24 @@ shairplay:
restart: unless-stopped restart: unless-stopped
``` ```
## 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
```
[1]: https://github.com/juhovh/shairplay [1]: https://github.com/juhovh/shairplay
[2]: https://github.com/abrasive/shairport [2]: https://github.com/abrasive/shairport