Files
boWave/bordanlage/scripts/init-pipes.sh
denshooter 946c0a5377 Initial implementation: Bordanlage boat onboard system
Complete multiroom audio + navigation dashboard:
- Docker stack: SignalK, Snapcast (4 zones), librespot, shairport-sync, Mopidy, Jellyfin, Portainer
- React 18 + Vite dashboard with nautical dark theme
- Full mock system (SignalK NMEA simulation, Snapcast zones, Mopidy player)
- Real API clients for all services with reconnect logic
- SVG instruments: Compass, WindRose, Gauge, DepthSounder, SpeedLog
- Pages: Overview, Navigation, Audio (zones/radio/library), Systems
- Dev mode runs fully without hardware (make dev)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 11:47:33 +01:00

18 lines
325 B
Bash
Executable File

#!/usr/bin/env bash
set -e
PIPE_DIR="${PIPE_DIR:-/tmp/audio}"
mkdir -p "$PIPE_DIR"
for pipe in spotify.pcm airplay.pcm mopidy.pcm; do
path="$PIPE_DIR/$pipe"
if [ ! -p "$path" ]; then
mkfifo "$path"
echo "Created pipe: $path"
else
echo "Pipe already exists: $path"
fi
done
echo "All audio pipes ready."