From 061f5c1541fe279953ad5079804e5b4a0e765830 Mon Sep 17 00:00:00 2001 From: fenix-soft Date: Mon, 28 Nov 2016 11:40:40 +0100 Subject: [PATCH] ad new script rai5.sh fix whit temp workaround --- RAI5.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 RAI5.sh diff --git a/RAI5.sh b/RAI5.sh new file mode 100644 index 0000000..ee87630 --- /dev/null +++ b/RAI5.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# rai 5 + +#----- old script +#wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&output=45" -U "iphone" -O p.txt +#grep http p.txt >temp.txt +#sed -e 's///g' temp.txt >temp2.txt +#cat temp2.txt +#sed -e 's/<\/url>//g' temp2.txt >temp.txt +#dos2unix temp.txt +#surce=`cat temp.txt` +#echo $surce +#mpv --hls-bitrate=max "$surce" +#rm p.txt +#rm temp.txt +#rm temp2.txt +#----- old script + +# temp fix for work! +mpv "http://b2everyrai-lh.akamaihd.net/i/rai5_1@182695/index_1200_av-b.m3u8" \ No newline at end of file