bluetooth-pipe-sink (latest)

Published 2024-07-29 20:14:59 +08:00 by opnxng

Installation

docker pull git.opnxng.com/opnxng/bluetooth-pipe-sink:latest
sha256:d42e1a4d57007be145cd5016991422bf27e978aeadcb3b0c75c5188fda234b39

Image Layers

ADD file:6c4730e7b12278bc7eb83b3b9d659437c92c42fc7ee70922ae8c4bebfb56a602 in /
CMD ["bash"]
ENV DEBIAN_FRONTEND=noninteractive
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends pulseaudio-utils pipewire-pulse bluetooth bluez libpulse0 && apt-get clean && rm -rf /var/lib/apt/lists/*
/bin/sh -c mkfifo /tmp/snapfifo
/bin/sh -c echo '#!/bin/bash\nset -e\nif ! pactl list short modules | grep -q module-pipe-sink; then\n pactl load-module module-pipe-sink file=/tmp/snapfifo sink_name=Snapcast format=s16le rate=48000\nfi\nwhile true; do\n hciconfig -a\n sleep 10\ndone &\npactl subscribe &\ntail -f /dev/null' > /usr/local/bin/entrypoint.sh
/bin/sh -c chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
Details
Container
2024-07-29 20:14:59 +08:00
6
OCI / Docker
linux/amd64
45 MiB
Versions (1) View all
latest 2024-07-29