Fix environment variable not being forwarded to liquidsoap
All checks were successful
ci / deploy (push) Successful in 2m30s
All checks were successful
ci / deploy (push) Successful in 2m30s
This commit is contained in:
@@ -27,4 +27,4 @@ Then visit http://localhost:8000 to listen!
|
|||||||
- **Liquidsoap** - Audio stream generation and HTTP server
|
- **Liquidsoap** - Audio stream generation and HTTP server
|
||||||
- **yt-dlp** - YouTube playlist downloading
|
- **yt-dlp** - YouTube playlist downloading
|
||||||
- **FFmpeg** - Audio format conversion
|
- **FFmpeg** - Audio format conversion
|
||||||
- **Python 3.9** - Automation scripts
|
- **Python 3.14** - Automation scripts
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
HOSTNAME=${HOSTNAME:=localhost}
|
||||||
|
PORT=${PORT:=8000}
|
||||||
|
|
||||||
touch /songs/playlist.pls /jingles/playlist.pls
|
touch /songs/playlist.pls /jingles/playlist.pls
|
||||||
|
|
||||||
@@ -9,4 +11,4 @@ python /opt/je_te_met_en_pls.py /air-support
|
|||||||
/opt/ultrasync.sh &
|
/opt/ultrasync.sh &
|
||||||
|
|
||||||
# Run Liquidsoap as zambla user
|
# 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"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<audio controls autoplay>
|
<audio controls autoplay>
|
||||||
<source src="/radio-bullshit" type="audio/mpeg">
|
<source src="/radio-bullshit" type="audio/mpeg" preload="none" >
|
||||||
</audio>
|
</audio>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user