Introduction
Introduction Statistics Contact Development Disclaimer Help
tbrtv-generate-playlists.sh - bitreich-tv - meme tv encoding and streaming
git clone git://src.adamsgaard.dk/bitreich-tv
Log
Files
Refs
LICENSE
---
tbrtv-generate-playlists.sh (779B)
---
1 #!/bin/sh
2 set -e
3 annna="$HOME/annna"
4 tagfile="modules/hashtags/hashtags.txt"
5 brtv="$HOME/bitreich-tv"
6
7 cd "$annna"
8 git pull >/dev/null
9
10 rm -f *.m3u index.gph
11
12 cd "$brtv"
13 ./bin/brtv-generate-title-slides.sh < "${annna}/${tagfile}" >/dev/null
14 ./bin/brtv-imgs-to-video.sh < "${annna}/${tagfile}" >/dev/null
15 f="$(mktemp)"
16
17 ./bin/brtv-generate-theme-channels.sh "${annna}/${tagfile}"
18 ./bin/brtv-news.sh "${annna}" "${tagfile}" > news.m3u
19
20 sort -R "${annna}/${tagfile}" | \
21 bin/brtv-generate-playlist.sh | \
22 bin/brtv-playlist-to-m3u.sh > all.m3u
23
24 grep -E "^#[A-z0-9-]*gopher[A-z0-9-]* " "${annna}/${tagfile}" | \
25 sort -R | \
26 bin/brtv-generate-playlist.sh | \
27 bin/brtv-playlist-to-m3u.sh > gopher.m3u
28
29 ./brtv-generate-gopher-index.sh > index.gph
30
31 mv *.m3u index.gph /br/gopher/tv/
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.