Shared by Max
Sembra funzionante davvero…
#!/bin/bash
#vedere i canali rai1, rai2,rete4, canale5, italia1, Cielo
#script realizzato grazie a c.realkiller e Darby_Crash modificato (spero non con molti errori) da zerocoll
#dipendenze:Â curl, vlc, zenity, rtmpdump
 Â
sel()
{
canale=`zenity –list –height=300 –width=300 –title=”TV” –text=”Seleziona il canale da vedere” –column=”Canale”
    "Rai Uno" "Rai Due" "Rai Tre" "Rai Quattro" "Rsi La 1" "Rsi La 2" "RaiMed" "RaiSport1" "RaiSport2" "Rai5" "RaiPremium"
“RaiGulp” “RaiStoria” “RayYoYo” “Cielo” “RaiCinema” “RaiNews” “Canale5” “Rete 4” “Italia 1” “La 7” “RaiScuola” “RaiInternational”
“Sky Tg 24” “Euronews” “SportItalia24” “105 TV” “Virgin TV” “DeeJay TV” “RTL102.5 TV” “RMC TV”`
    case $canale in
"Rai Uno") /home/`whoami`/data/./rai1.sh && sel;;
"Rai Due") /home/`whoami`/data/./rai2.sh && sel;;
"Rai Tre") /home/`whoami`/data/./rai3.sh && sel;;
"Rai Quattro") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=75708" | vlc – && sel;;
"Rsi La 1") curl -H "X-Forwarded-For: 194.230.72.68" "http://gartenhoflive5-f.akamaihd.net/rsila1_1_800@45513" | vlc – && sel;;
"Rsi La 2") curl -H "X-Forwarded-For: 194.230.72.68" "http://gartenhoflive5-f.akamaihd.net/rsila2_1_800@45514" | vlc – && sel;;
"RaiMed") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=87127" | vlc – && sel;;
"RaiSport1") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=4145" | vlc – && sel;;
"RaiSport2") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=179975" | vlc – && sel;;
 "Rai5") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=72382" | vlc – && sel;;
 "RaiPremium") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=72383" | vlc – && sel;;
"RaiGulp") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=4119" | vlc – && sel;;
 "RaiStoria") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=24269" | vlc – && sel;;
        "Cielo") rtmpdump -v -r rtmp://cp86825.live.edgefcs.net/live/cielo_std@17630 -q | vlc – && sel;;
 "RayYoYo") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=72384" | vlc – && sel;;
 "RaiCinema") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=72381" | vlc – && sel;;
 "RaiNews") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1" | vlc – && sel;;
        "Canale5") /home/`whoami`/data/./canale5.sh && sel;;
        "Rete 4") /home/`whoami`/data/./rete4.sh && sel;;
        "Italia 1") /home/`whoami`/data/./italia1.sh && sel;;
        "La 7") /home/`whoami`/data/./la7.sh && sel;;
 "RaiScuola") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=24268" | vlc – && sel;;
 "RaiInternational") vlc http://212.239.120.252:1755/yesItaliaStream && sel;;
        "Sky Tg 24") rtmpdump -v -r "rtmp://212.243.210.71:1935/live?_fcs_vhost=cp49989.live.edgefcs.net/streamRM1@2564" -q | vlc – && sel;;
 "Euronews") curl -H "viaurl: www.rai.tv" "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=113784" | vlc – && sel;;
 "SportItalia24") vlc mms://mms.cdn-tiscali.com/sportitalia && sel;;
 "105 TV") rtmpdump -v -r "rtmp://fms.105.net:1935/live" -y "105Test1" | vlc – && sel;;
 "Virgin TV") rtmpdump -v -r "rtmp://fms.105.net:1935/live" -y "virgin1" | vlc – && sel;;
 "DeeJay TV") vlc http://wm.streaming.kataweb.it/reflector:40004 && sel;;
 "RTL102.5 TV") vlc mms://151.1.245.36/rtl102.5vs && sel;;
 "RMC TV") rtmpdump -v -r "rtmp://fms.105.net:1935/live" -y "rmc1" | vlc – && sel;;
*) exit 1 ;;
    esac
}
sel