From b56d2d39cfe7c2c74ee29f6102025776ab58dcab Mon Sep 17 00:00:00 2001 From: Charles <32498151+charlesomer@users.noreply.github.com> Date: Tue, 23 Aug 2022 21:49:00 +0100 Subject: [PATCH 1/2] Add avahi-tools --- docker/Dockerfile | 1 + docker/classic/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index cb2df177..a34d2c50 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -79,6 +79,7 @@ RUN apk -U add \ mbedtls \ soxr \ avahi \ + avahi-tools \ libconfig \ libsndfile \ mosquitto \ diff --git a/docker/classic/Dockerfile b/docker/classic/Dockerfile index a2c33af5..0556cd94 100644 --- a/docker/classic/Dockerfile +++ b/docker/classic/Dockerfile @@ -73,6 +73,7 @@ RUN apk -U add \ mbedtls \ soxr \ avahi \ + avahi-tools \ libconfig \ libsndfile \ mosquitto-libs \ From b77e06be9e5e15537e2117374029e97eedf47ada Mon Sep 17 00:00:00 2001 From: Charles <32498151+charlesomer@users.noreply.github.com> Date: Tue, 23 Aug 2022 22:05:35 +0100 Subject: [PATCH 2/2] Update readme --- docker/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/README.md b/docker/README.md index 12b8f3bb..acabc123 100644 --- a/docker/README.md +++ b/docker/README.md @@ -21,10 +21,11 @@ $ docker run -d --restart unless-stopped --net host --device /dev/snd \ ### Options -Any options you add to the command above will be passed to Shairport Sync. Here is an example: +You can change the default commands passed to Shairport Sync. Here is an example: ``` $ docker run -d --restart unless-stopped --net host --device /dev/snd \ - mikebrady/shairport-sync -a DenSystem -- -d hw:0 -c PCM + mikebrady/shairport-sync:unstable-development shairport-sync -v \ + --statistics -a DenSystem -d hw:0 -c PCM ``` This will sent audio to alsa hardware device `hw:0` and make use of the that device's mixer control called `PCM`. The service will be visible as `DenSystem` on the network.