35 lines
507 B
Bash
Executable File
35 lines
507 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#PLAYER="ffplay -loglevel error -infbuf"
|
|
PLAYER="mpv --loop=no"
|
|
ROOMS=\
|
|
"cbase
|
|
abchillgleis
|
|
c3lounge
|
|
cwtv
|
|
r3s
|
|
csh
|
|
chaoszone
|
|
fem
|
|
franconiannet
|
|
aboutfuture
|
|
sendezentrum
|
|
haecksen
|
|
gehacktesfromhell
|
|
xhain
|
|
quit"
|
|
|
|
[ -z $1 ] \
|
|
&& while true
|
|
do
|
|
set -e
|
|
SEL="$(echo "$ROOMS" | fzf)"
|
|
case "$SEL" in
|
|
quit) exit 0; ;;
|
|
*) ${0} ${SEL}; ;;
|
|
esac
|
|
done
|
|
set -x
|
|
|
|
$PLAYER "https://cdn.c3voc.de/hls/${1}/native_hd.m3u8"
|