Serve a small web page at http://<host>:8000/ (stream/index.html) from the Liquidsoap harbor, alongside the /radio.mp3 stream. It shows the track currently on air and refreshes it from a /nowplaying JSON endpoint, fed by the broadcast source's live metadata — accurate even though the ingest daemon runs a track ahead (prefetch). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6 lines
151 B
Docker
6 lines
151 B
Docker
FROM savonet/liquidsoap:v2.4.5
|
|
|
|
COPY radio.liq /etc/liquidsoap/radio.liq
|
|
COPY index.html /etc/liquidsoap/index.html
|
|
|
|
CMD ["/etc/liquidsoap/radio.liq"]
|