|
|
brtv-playlist-to-m3u.sh - bitreich-tv - Meme TV encoding and streaming |
|
|
 |
git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tv (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
|
brtv-playlist-to-m3u.sh (215B) |
|
|
|
--- |
|
|
|
1 #!/bin/sh |
|
|
|
2 # supply output from brtv-generate-playlist.sh as stdin |
|
|
|
3 |
|
|
|
4 printf '#EXTM3U\n' |
|
|
|
5 |
|
|
|
6 while IFS=' |
|
|
|
7 ' read -r url; do |
|
|
|
8 f="${url##*/}" |
|
|
|
9 printf '#EXTINF:%s, bitreich-tv - #%s\n' "" "${f%.*}" |
|
|
|
10 printf '%s\n' "$url" |
|
|
|
11 done |
|