Introduction
Introduction Statistics Contact Development Disclaimer Help
tgenerate gopher index page - bitreich-tv - meme tv encoding and streaming
git clone git://src.adamsgaard.dk/bitreich-tv
Log
Files
Refs
LICENSE
---
commit 6ea779cd49ae35df505f0beeb377f84194ec17f1
parent 7acbd53258bc1f755c39d9766706e4fd0df431bf
Author: Anders Damsgaard <[email protected]>
Date: Tue, 3 Nov 2020 11:45:16 +0100
generate gopher index page
Diffstat:
A brtv-generate-gopher-index.sh | 83 +++++++++++++++++++++++++++++…
M brtv-generate-playlists.sh | 6 +++++-
2 files changed, 88 insertions(+), 1 deletion(-)
---
diff --git a/brtv-generate-gopher-index.sh b/brtv-generate-gopher-index.sh
t@@ -0,0 +1,83 @@
+#!/bin/sh
+cat <<__EOF__
+ o
+ o /
+ \ /
+ \ /
+ +-------------v--------------------+
+ | ,----------------------. __ |
+ | | | / \ |
+ | | B I T R E I C H | \__/ |
+ | | _____ | ...... |
+ | | | \ / | ...... |
+ | | | \ / | |
+ | | | v | ====== |
+ | | | ====== |
+ | \`----------------------\` |
+ | stereo [_] |
+ +----------------------------------+
+ / \\
+
+Welcome to the first TV channel on Gopherspace!
+
+Please see our different channels with its varieties of content, to make
+you happy and give you pleasure at the same time.
+
+The playlists are regenerated every hour and are best viewed using mpv(1)
+by passing the playlist url as an argument. For mplayer(1), vlc(1) there
+is gopher:// link support. We are working on playlist support.
+
+_____[[ C_H_A_N_N_E_L_S ]]
+
+[9|News|/tv/news.m3u|server|port]
+
+__EOF__
+
+for f in *.m3u; do
+ case "$f" in
+ all.m3u|news.m3u) continue;;
+ esac
+ printf '[9|%s Memes|/tv/%s|server|port]\n' \
+ "$(printf '%s' "${f%.m3u}" | sed 's/^./\u&/')" "$f"
+done
+
+cat <<__EOF__
+
+[9|All Memes|/tv/all.m3u|server|port]
+
+_____[[ W_H_Y_? ]]
+
+First Problem / Solution:
+
+The memecache is growing every day. People need to remember them, but
+with over 4096 memes, it is nearly impossible to know all of them. With
+tthe new visual representation in a stream, the case of people remembering
+and thus using the meme hashtag are higher.
+
+Second Problem / Solution:
+
+Gopher is about simplicity, showing how problems can be solved in a different
+way. The web is scaling up to complexity, of streaming servers, wasting band-
+width, not using simple tools which can be recombined, all tunneled over one
+protocol, making it too complex over time.
+
+The technology behind bitreich tv is simply the common text standard of
+playlists, referencing different protocols, interpreted by players like
+mpv(1), vlc(1) or any ffmpeg-based player, which now support the gopher
+protocol and beyond.
+
+Hopefully this will inspire others to create their TV channels on gopher.
+
+See the presentation of adc on the technical background of the channel:
+
+[0|Bitreich TV Introduction Talk by adc|/tv/bitreich-tv-introduction-adc.md|se…
+(Best viewed using pointools + catpoint(1); git://bitreich.org/catpoint ,
+ git://bitreich.org/pointtools .)
+
+[h|Git: git://src.adamsgaard.dk/bitreich-tv|URL:git://src.adamsgaard.dk/bitrei…
+(Will move to bitreich.org.)
+
+
+[1|<< back to bitreich.org|/|server|port]
+
+__EOF__
diff --git a/brtv-generate-playlists.sh b/brtv-generate-playlists.sh
t@@ -7,6 +7,8 @@ brtv="$HOME/code/bitreich-tv"
cd "$annna"
git pull >/dev/null
+rm -f *.m3u index.gph
+
cd "$brtv"
./bin/brtv-generate-title-slides.sh < "${annna}/${tagfile}" >/dev/null
./bin/brtv-imgs-to-video.sh < "${annna}/${tagfile}" >/dev/null
t@@ -24,4 +26,6 @@ grep -E "^#[A-z0-9-]*gopher[A-z0-9-]* " "${annna}/${tagfile}…
bin/brtv-generate-playlist.sh | \
bin/brtv-playlist-to-m3u.sh > gopher.m3u
-mv *.m3u /var/gopher/
+./brtv-generate-gopher-index.sh > index.gph
+
+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.