bitreich-tv

meme tv encoding and streaming
git clone git://src.adamsgaard.dk/bitreich-tv
Log | Files | Refs | LICENSE Back to index

brtv-generate-gopher-index.sh (2809B)


      1 #!/bin/sh
      2 cat <<__EOF__
      3                           o
      4                    o     /
      5                     \   /
      6                      \ /
      7         +-------------v--------------------+
      8         |  ,----------------------.   __   |
      9         |  |                      |  /  \  |
     10         |  |   B I T R E I C H    |  \__/  |
     11         |  |    _____             | ...... |
     12         |  |      |    \   /      | ...... |
     13         |  |      |     \ /       |        |
     14         |  |      |      v        | ====== |
     15         |  |                      | ====== |
     16         |  \`----------------------\`        |
     17         |  stereo                     [_]  |
     18         +----------------------------------+
     19                      /      \\
     20 
     21 Welcome to the first TV channel on Gopherspace!
     22 
     23 Please see our different channels with its varieties of content, to make
     24 you happy and give you pleasure at the same time.
     25 
     26 The playlists are regenerated every hour and are best viewed using mpv(1)
     27 by passing the playlist url as an argument. For mplayer(1), vlc(1) there
     28 is gopher:// link support. We are working on playlist support.
     29 
     30 _____[[ C_H_A_N_N_E_L_S ]]
     31 
     32 [9|News|/tv/news.m3u|server|port]
     33 
     34 __EOF__
     35 
     36 for f in *.m3u; do
     37 	case "$f" in
     38 		all.m3u|news.m3u) continue;;
     39 	esac
     40 	printf '[9|%s Memes|/tv/%s|server|port]\n' \
     41 		"$(printf '%s' "${f%.m3u}" | \
     42 		   awk '{print toupper(substr($1,1,1)) substr($1,2)}')" "$f"
     43 done
     44 
     45 cat <<__EOF__
     46 
     47 [9|All Memes|/tv/all.m3u|server|port]
     48 
     49 _____[[ W_H_Y_? ]]
     50 
     51 First Problem / Solution:
     52 
     53 The memecache is growing every day. People need to remember them, but
     54 with over 4096 memes, it is nearly impossible to know all of them. With
     55 tthe new visual representation in a stream, the case of people remembering
     56 and thus using the meme hashtag are higher.
     57 
     58 Second Problem / Solution:
     59 
     60 Gopher is about simplicity, showing how problems can be solved in a different
     61 way. The web is scaling up to complexity, of streaming servers, wasting band-
     62 width, not using simple tools which can be recombined, all tunneled over one
     63 protocol, making it too complex over time.
     64 
     65 The technology behind bitreich tv is simply the common text standard of
     66 playlists, referencing different protocols, interpreted by players like
     67 mpv(1), vlc(1) or any ffmpeg-based player, which now support the gopher
     68 protocol and beyond.
     69 
     70 Hopefully this will inspire others to create their TV channels on gopher.
     71 
     72 See the presentation of adc on the technical background of the channel:
     73 
     74 [0|Bitreich TV Introduction Talk by adc|/tv/bitreich-tv-introduction-adc.md|server|port]
     75 (Best viewed using pointools + catpoint(1); git://bitreich.org/catpoint ,
     76  git://bitreich.org/pointtools .)
     77 
     78 [h|Git: git://src.adamsgaard.dk/bitreich-tv|URL:git://src.adamsgaard.dk/bitreich-tv|server|port]
     79 (Will move to bitreich.org.)
     80 
     81 
     82 [1|<< back to bitreich.org|/|server|port]
     83 
     84 __EOF__