Compare commits

...

15 Commits
v1.0 ... master

Author SHA1 Message Date
fenix-soft 74e2e54dd9
Add files via upload
fix script
2021-10-05 14:59:28 +02:00
fenix-soft 87f9641cdb
Add files via upload
fix relinker and link extrapolator, default debug mode
2021-10-05 14:39:22 +02:00
fenix-soft 05ac24d674
Add files via upload 2021-10-05 14:25:15 +02:00
fenix-soft eb875e8e7a
Add files via upload 2021-10-05 14:13:23 +02:00
fenix-soft 28599b0911
Add files via upload
fix relinker and video set
2021-10-05 14:10:09 +02:00
fenix-soft 87aa6e1af8
Add files via upload
fix rai1 relinker and fix video setting
2021-10-05 14:06:12 +02:00
fenix-soft 061f5c1541 ad new script rai5.sh
fix whit temp workaround
2016-11-28 11:40:40 +01:00
fenix-soft b8f4c32ca6 Delete RAI5.sh
script not work -- possible bug mpv or bad rai site configuration
2016-11-28 11:38:58 +01:00
fenix-soft 75ab00f75a Update version.txt 2016-11-28 11:30:54 +01:00
fenix-soft 6a713de02b Update RAIsport2.sh
fix find url
2016-11-28 11:30:04 +01:00
fenix-soft c5ec1b2f91 Update RAIsport.sh
fix find url
2016-11-28 11:29:29 +01:00
fenix-soft 1ba33e8003 Update RAI4.sh
fix find url
2016-11-28 10:52:50 +01:00
fenix-soft 26a7b98fcc Update RAI3.sh
fix find url
2016-11-28 10:51:45 +01:00
fenix-soft 594cf6b6ff Update RAI2.sh
fix find url
2016-11-28 10:50:35 +01:00
fenix-soft acec9d52f3 Update RAI1.sh
fix find url
2016-11-28 10:49:35 +01:00
9 changed files with 107 additions and 23 deletions

32
RAI1.sh
View File

@ -1,14 +1,38 @@
#!/bin/bash
# rai 1
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2621467&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
# V1.1 20210905 Public relase
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=45" -U "iphone" -O p.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//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"
#max bitrate video
#mpv --hls-bitrate=max "$surce"
#Video --vid=1
mpv --vid=1 "$surce"
# comment for debug
rm p.txt
rm temp.txt
rm temp2.txt
# note: mpv video audio set exmple:
# Video --vid=1 'bitrate 2793078' (h264)
# (+) Video --vid=2 'bitrate 2137033' (h264)
# Video --vid=3 'bitrate 1365331' (h264)
# (+) Audio --aid=1 --alang=ita (*) (aac)
# Audio --aid=2 --alang=V.O (aac)
# Audio --aid=3 --alang=des (aac)
# Audio --aid=4 'bitrate 2793078' (aac)
# Audio --aid=5 'bitrate 2137033' (aac)
# Audio --aid=6 'bitrate 1365331' (aac)
#

15
RAI2.sh
View File

@ -1,14 +1,23 @@
#!/bin/bash
# V1.1 20210905 Public relase
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//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"
#max bitrate video
#mpv2 --hls-bitrate=max "$surce"
#Video --vid=2 'bitrate 2137033' (h264)
mpv --vid=2 "$surce"
rm p.txt
rm temp.txt
rm temp2.txt
rm temp2.txt

14
RAI3.sh
View File

@ -1,14 +1,22 @@
#!/bin/bash
# V1.1 20210905 Public relase
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308709&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//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"
#max bitrate video
#mpv2 --hls-bitrate=max "$surce"
#Video --vid=2 'bitrate 2137033' (h264)
mpv --vid=2 "$surce"
rm p.txt
rm temp.txt
rm temp2.txt
rm temp2.txt

13
RAI4.sh
View File

@ -1,14 +1,21 @@
#!/bin/bash
# RAI4.sh V1.2 20210905 Public relase
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746966&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//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"
#max bitrate video
#mpv --hls-bitrate=max "$surce"
#Video --vid=2 'bitrate 2137033' (h264)
mpv --vid=2 "$surce"
rm p.txt
rm temp.txt
rm temp2.txt
rm temp2.txt

35
RAI5.sh
View File

@ -1,15 +1,42 @@
#!/bin/bash
# rai 5
#
# RAI5.sh V1.3 (debug mode) 20210905 Public relase
#
# note: the debug mode in this script is necessary because the rai relinker of this channel changes often. The video presets change constantly and are not consistent with the bitrate streams of the other channels. The extrapolation format changes often, you may have it in xml format (sometimes even poorly formatted) or in json. The debug mode is necessary to quickly understand where the problem lies in the event of a malfunction!
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&output=45" -U "iphone" -O p.txt
echo " "
echo "DEBUG MODE...start! extract media url.. "
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
echo " "
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
echo " "
sed -e 's/<\/url>//g' temp2.txt >temp3.txt
echo " "
cat temp3.txt
echo " "
echo " "
grep hls temp3.txt >temp.txt
echo " "
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
mpv --hls-bitrate=max "$surce"
echo " "
echo "Find_Media_Url: "$surce
echo " "
echo "DEBUG MODE END.. start play stream.. "
echo " "
#max bitrate video
#mpv --hls-bitrate=max "$surce"
#Video --vid=2 'bitrate 2137033' (h264)
mpv --vid=2 "$surce"
rm p.txt
rm temp.txt
rm temp2.txt
rm temp3.txt

View File

@ -1,15 +1,24 @@
#!/bin/bash
# rai news 24
#
## V1.2 20210905 Public relase
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//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"
#max bitrate video
#mpv --hls-bitrate=max "$surce"
#Video --vid=1
mpv --vid=2 "$surce"
rm p.txt
rm temp.txt
rm temp2.txt
rm temp2.txt

View File

@ -2,7 +2,7 @@
# rai sport 1hd
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt

View File

@ -2,7 +2,7 @@
# rai sport 2 sd è la versione sd di rai sport 1
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358071&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
grep content p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt

View File

@ -1 +1 @@
RAILIVE VERSION 1.0
RAILIVE VERSION 1.0.1