From c007b565ae302565ba47807964bdfc1d69722f9e Mon Sep 17 00:00:00 2001 From: Caine Date: Sat, 7 Mar 2026 12:56:44 +0000 Subject: Move Icecast password to secrets.liq, remove from tracked files --- .gitignore | 5 ++-- ezstream.xml | 71 ------------------------------------------------------ radio.liq | 4 ++- track_announce.liq | 2 +- 4 files changed, 7 insertions(+), 75 deletions(-) delete mode 100755 ezstream.xml diff --git a/.gitignore b/.gitignore index fba6d85..a5a1707 100644 --- a/.gitignore +++ b/.gitignore @@ -32,5 +32,6 @@ __pycache__/ # Legacy/backup files *.bak -# Secrets — Icecast password is in radio.liq and track_announce.liq -# These are tracked but the password should be moved to env var eventually +# Secrets +secrets.liq +ezstream.xml diff --git a/ezstream.xml b/ezstream.xml deleted file mode 100755 index a6bd402..0000000 --- a/ezstream.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - default - HTTP - 127.0.0.1 - 8910 - source - REDACTED - None - 20 - - - - - - /stream - default - default - No - MP3 - mp3 - Radio Susan - https://radio.jihakuz.xyz - Eclectic - Personal radio station - 192 - 44100 - 2 - - - - - - default - playlist - /var/lib/radio/playlists/all.m3u - Yes - No - - - - - @a@ - @t@ - Yes - No - - - - - ffmpeg-all - /var/lib/radio/decode.sh @T@ - .flac - .mp3 - .ogg - .m4a - .opus - .wav - .wma - - - - - - mp3 - MP3 - /var/lib/radio/encode.sh - - - diff --git a/radio.liq b/radio.liq index 0f5b826..470cc92 100755 --- a/radio.liq +++ b/radio.liq @@ -4,6 +4,8 @@ # Tracks, announcements, and jingles are all baked into playlist.m3u # Liquidsoap just plays it sequentially. +%include "secrets.liq" + set("log.file.path", "/var/lib/radio/radio.log") set("log.level", 3) set("server.telnet", true) @@ -61,7 +63,7 @@ output.icecast( %mp3(bitrate=192), host="localhost", port=8910, - password="REDACTED", + password=icecast_password, mount="/stream", name="Radio Susan", description="Personal radio station", diff --git a/track_announce.liq b/track_announce.liq index 8aac476..d93b2f5 100755 --- a/track_announce.liq +++ b/track_announce.liq @@ -67,7 +67,7 @@ output.icecast( %mp3(bitrate=192), host="localhost", port=8910, - password="REDACTED", + password=icecast_password, mount="/stream", name="Radio Susan", description="Personal radio station", -- cgit v1.2.3