bitreich-memestats

statistical analysis of tags in Freenode/#bitreich-en
git clone git://src.adamsgaard.dk/bitreich-memestats
Log | Files | Refs | LICENSE Back to index

commit 7503a598bf5ee73165e4deedf8b85c5a633de49e
parent 3c3d3a067be47f9db268d4817d937a49ecf5f051
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 11 Jun 2020 13:54:27 +0000

Use proper icecast password

Diffstat:
Mbrtv-start.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

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