Clean up title slide script - bitreich-tv - Meme TV encoding and streaming | |
git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 2c603b4a4ac3a953f11aac4157aae322f52a9e80 | |
parent 514e6788b34aa2fea81e685a03b0f0bc9e449157 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 16 Aug 2020 20:11:56 +0200 | |
Clean up title slide script | |
Diffstat: | |
M brtv-generate-title-slides.sh | 13 ------------- | |
1 file changed, 0 insertions(+), 13 deletions(-) | |
--- | |
diff --git a/brtv-generate-title-slides.sh b/brtv-generate-title-slides.sh | |
@@ -26,19 +26,6 @@ title_display_time=5 | |
### CONFIGURATION END | |
-die() { | |
- printf '%s: error: %s\n' "${0##*/}" "$1" >&2 | |
- exit 1 | |
-} | |
- | |
-regeximatch() { | |
- printf '%s' "$1" | grep -iEq "$2" | |
-} | |
- | |
-if [ $# -ne 1 ]; then | |
- die "usage: ${0##*/} <hashtags-file>" | |
-fi | |
- | |
title_slide() { | |
img="$(basename "${1%.*}".png)" | |
printf 'title_slide %s -> %s\n' "$1" "$img" |