Compare commits
15 Commits
Author | SHA1 | Date |
---|---|---|
fenix-soft | 74e2e54dd9 | |
fenix-soft | 87f9641cdb | |
fenix-soft | 05ac24d674 | |
fenix-soft | eb875e8e7a | |
fenix-soft | 28599b0911 | |
fenix-soft | 87aa6e1af8 | |
fenix-soft | 061f5c1541 | |
fenix-soft | b8f4c32ca6 | |
fenix-soft | 75ab00f75a | |
fenix-soft | 6a713de02b | |
fenix-soft | c5ec1b2f91 | |
fenix-soft | 1ba33e8003 | |
fenix-soft | 26a7b98fcc | |
fenix-soft | 594cf6b6ff | |
fenix-soft | acec9d52f3 |
32
RAI1.sh
32
RAI1.sh
|
@ -1,14 +1,38 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# rai 1
|
|
||||||
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2621467&output=45" -U "iphone" -O p.txt
|
# V1.1 20210905 Public relase
|
||||||
grep http p.txt >temp.txt
|
|
||||||
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
dos2unix temp.txt
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
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 p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.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)
|
||||||
|
#
|
13
RAI2.sh
13
RAI2.sh
|
@ -1,14 +1,23 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
dos2unix temp.txt
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
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 p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.txt
|
rm temp2.txt
|
12
RAI3.sh
12
RAI3.sh
|
@ -1,14 +1,22 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
dos2unix temp.txt
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
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 p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.txt
|
rm temp2.txt
|
11
RAI4.sh
11
RAI4.sh
|
@ -1,14 +1,21 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
dos2unix temp.txt
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
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 p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.txt
|
rm temp2.txt
|
35
RAI5.sh
35
RAI5.sh
|
@ -1,15 +1,42 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
grep http p.txt >temp.txt
|
||||||
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
|
echo " "
|
||||||
cat temp2.txt
|
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
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
echo " "
|
||||||
mpv --hls-bitrate=max "$surce"
|
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 p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.txt
|
rm temp2.txt
|
||||||
|
rm temp3.txt
|
||||||
|
|
13
RAInews.sh
13
RAInews.sh
|
@ -1,15 +1,24 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# rai news 24
|
# 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
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
dos2unix temp.txt
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
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 p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.txt
|
rm temp2.txt
|
|
@ -2,7 +2,7 @@
|
||||||
# rai sport 1hd
|
# rai sport 1hd
|
||||||
|
|
||||||
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&output=45" -U "iphone" -O p.txt
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# rai sport 2 sd è la versione sd di rai sport 1
|
# 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
|
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
|
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
|
||||||
cat temp2.txt
|
cat temp2.txt
|
||||||
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
RAILIVE VERSION 1.0
|
RAILIVE VERSION 1.0.1
|
||||||
|
|
Loading…
Reference in New Issue