diff --git a/README.md b/README.md index 45b6ea3..0e699e7 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,4 @@ Then visit http://localhost:8000 to listen! - **Liquidsoap** - Audio stream generation and HTTP server - **yt-dlp** - YouTube playlist downloading - **FFmpeg** - Audio format conversion -- **Python 3.9** - Automation scripts +- **Python 3.14** - Automation scripts diff --git a/entrypoint.sh b/entrypoint.sh index 275bb32..3c6c71a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,6 @@ #!/bin/bash -e +HOSTNAME=${HOSTNAME:=localhost} +PORT=${PORT:=8000} touch /songs/playlist.pls /jingles/playlist.pls @@ -9,4 +11,4 @@ python /opt/je_te_met_en_pls.py /air-support /opt/ultrasync.sh & # Run Liquidsoap as zambla user -runuser -l zambla -c 'liquidsoap /opt/radio.liq' +runuser -l zambla -c "HOSTNAME=$HOSTNAME PORT=$PORT liquidsoap /opt/radio.liq" diff --git a/www/index.html b/www/index.html index b910429..2eaef27 100644 --- a/www/index.html +++ b/www/index.html @@ -8,7 +8,7 @@