Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdd example script for regenerating playlists - bitreich-tv - meme tv encoding…
git clone git://src.adamsgaard.dk/bitreich-tv
Log
Files
Refs
LICENSE
---
commit c916aa89b6e9184911297826cb2cdc31c1b0fe46
parent 3f7b865c858b443df5811ff03cdde199c4770903
Author: Anders Damsgaard <[email protected]>
Date: Mon, 17 Aug 2020 00:27:46 +0200
Add example script for regenerating playlists
Diffstat:
A brtv-generate-playlists.sh | 17 +++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/brtv-generate-playlists.sh b/brtv-generate-playlists.sh
t@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+annna="$HOME/code/annna"
+tagfile="modules/hashtags/hashtags.txt"
+brtv="$HOME/code/bitreich-tv"
+
+cd "$annna"
+git pull >/dev/null
+
+cd "$brtv"
+./bin/brtv-generate-title-slides.sh < "${annna}/${tagfile}" >/dev/null
+./bin/brtv-imgs-to-video.sh < "${annna}/${tagfile}" >/dev/null
+f="$(mktemp)"
+
+for channel in news all corona slav; do
+ ./"brtv-${channel}.sh" > "$f" && cp "$f" "/var/gopher/${channel}.m3u"
+done
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.