tv.sh simple streaming tool using mpv (mplayer successor)
#!/bin/bash
#tv.sh tv streaming using mpv
#box_ip="root:password@192.168.0.100"
box_ip="192.168.0.100"
ref=`wget -O - -q http://$box_ip/web/getcurrent | grep -B 1 '\(<\|</\)e2servicename' | sed 's/<[^>]*>//g' | sed 's/^[ \t]*//' | sed '2d'`
#echo $ref
mpv http://$box_ip:8001/$ref
if you want to watch more channels at the same time just start tv.sh in a new terminal, requirement free transponder (tuner), terminate with Ctrl-C each terminal, instead of mpv you may try ffplay, I tried to make zapstream.sh (zapstream was an OpenPLi Invention for Enigma1)
https://forums.openp...eam-in-openpli/
https://forums.openp...3-zapstreamm3u/
means each time you change the service on the box, the service is changed on the PC too
I didn.t succeed, if someone can expand the script?