Use proper icecast password - bitreich-memestats - Bitreich meme statistics and graphs. HTML git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bitreich-memestats DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit 7503a598bf5ee73165e4deedf8b85c5a633de49e DIR parent 3c3d3a067be47f9db268d4817d937a49ecf5f051 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 11 Jun 2020 13:54:27 +0000 Use proper icecast password Diffstat: M brtv-start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- DIR diff --git a/brtv-start.sh b/brtv-start.sh @@ -1,6 +1,8 @@ #!/bin/sh # generate title animations and start streaming server +pass="$(cat icecastpass)" + if [ $# -ne 1 ]; then printf 'usage: %s <memecache_path>\n' "$0" >&2 exit @@ -124,7 +126,7 @@ printf '\nstarting fallback stream\n' ffmpeg -loglevel quiet \ -stream_loop -1 -i bitreich-tv.webm -f webm -codec copy - icecast://source:hasselkospiserkrymmel@localhost:8000/brtvfallback + icecast://source:${pass}@localhost:8000/brtvfallback exit 0 @@ -137,4 +139,4 @@ ffmpeg -f concat -safe 0 -stream_loop -1 -i "$playlist" \ -analyzeduration 2M -probesize 2M \ -codec copy \ -deadline realtime -threads 8 \ - icecast://source:hasselkospiserkrymmel@localhost:8000/brtv + icecast://source:${pass}@localhost:8000/brtv