Move Icecast password to secrets.liq, remove from tracked files

This commit is contained in:
Caine
2026-03-07 12:56:44 +00:00
parent 01682c62c2
commit c007b565ae
4 changed files with 7 additions and 75 deletions
+3 -2
View File
@@ -32,5 +32,6 @@ __pycache__/
# Legacy/backup files # Legacy/backup files
*.bak *.bak
# Secrets — Icecast password is in radio.liq and track_announce.liq # Secrets
# These are tracked but the password should be moved to env var eventually secrets.liq
ezstream.xml
-71
View File
@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ezstream>
<servers>
<server>
<name>default</name>
<protocol>HTTP</protocol>
<hostname>127.0.0.1</hostname>
<port>8910</port>
<user>source</user>
<password>REDACTED</password>
<tls>None</tls>
<reconnect_attempts>20</reconnect_attempts>
</server>
</servers>
<streams>
<stream>
<mountpoint>/stream</mountpoint>
<intake>default</intake>
<server>default</server>
<public>No</public>
<format>MP3</format>
<encoder>mp3</encoder>
<stream_name>Radio Susan</stream_name>
<stream_url>https://radio.jihakuz.xyz</stream_url>
<stream_genre>Eclectic</stream_genre>
<stream_description>Personal radio station</stream_description>
<stream_bitrate>192</stream_bitrate>
<stream_samplerate>44100</stream_samplerate>
<stream_channels>2</stream_channels>
</stream>
</streams>
<intakes>
<intake>
<name>default</name>
<type>playlist</type>
<filename>/var/lib/radio/playlists/all.m3u</filename>
<shuffle>Yes</shuffle>
<stream_once>No</stream_once>
</intake>
</intakes>
<metadata>
<format_str>@a@ - @t@</format_str>
<normalize_strings>Yes</normalize_strings>
<no_updates>No</no_updates>
</metadata>
<decoders>
<decoder>
<name>ffmpeg-all</name>
<program>/var/lib/radio/decode.sh @T@</program>
<file_ext>.flac</file_ext>
<file_ext>.mp3</file_ext>
<file_ext>.ogg</file_ext>
<file_ext>.m4a</file_ext>
<file_ext>.opus</file_ext>
<file_ext>.wav</file_ext>
<file_ext>.wma</file_ext>
</decoder>
</decoders>
<encoders>
<encoder>
<name>mp3</name>
<format>MP3</format>
<program>/var/lib/radio/encode.sh</program>
</encoder>
</encoders>
</ezstream>
+3 -1
View File
@@ -4,6 +4,8 @@
# Tracks, announcements, and jingles are all baked into playlist.m3u # Tracks, announcements, and jingles are all baked into playlist.m3u
# Liquidsoap just plays it sequentially. # Liquidsoap just plays it sequentially.
%include "secrets.liq"
set("log.file.path", "/var/lib/radio/radio.log") set("log.file.path", "/var/lib/radio/radio.log")
set("log.level", 3) set("log.level", 3)
set("server.telnet", true) set("server.telnet", true)
@@ -61,7 +63,7 @@ output.icecast(
%mp3(bitrate=192), %mp3(bitrate=192),
host="localhost", host="localhost",
port=8910, port=8910,
password="REDACTED", password=icecast_password,
mount="/stream", mount="/stream",
name="Radio Susan", name="Radio Susan",
description="Personal radio station", description="Personal radio station",
+1 -1
View File
@@ -67,7 +67,7 @@ output.icecast(
%mp3(bitrate=192), %mp3(bitrate=192),
host="localhost", host="localhost",
port=8910, port=8910,
password="REDACTED", password=icecast_password,
mount="/stream", mount="/stream",
name="Radio Susan", name="Radio Susan",
description="Personal radio station", description="Personal radio station",