#!/bin/bash
url="http://www2.vavoo.to/live2/index"
curl -k "https://www2.vavoo.to/live2/index?countries=all&output=json" > vavoo
echo "#EXTM3U" > index
cat vavoo | sed 's/\(}\),/\1}\n,/g' | sed 's/"url":"/"url":\n/g' | sed 's#,{\"group\":#\#EXTINF:-1 group-title=#g' | sed 's#,\"logo\":\"\",\"name\":#,#g' | sed 's/\"}.//' | sed 's/\",\"tvg.//' | sed 's#\",\"#\",#g' >> index
cat index | sed "s#https://#pipe:///home/hts/IPTV/ffpipe.sh https://#g" > index.m3u
for country in Germany; do
cat index.m3u | grep -E -A1 =\"$country > $country.m3u
#m3u
echo "#EXTM3U" > /home/hts/IPTV/pipevavoo-$country.m3u
cat $country.m3u >> /home/hts/IPTV/pipevavoo-$country.m3u
rm -rf $country.m3u
done
rm -rf index.m3u
rm index*
exit 0
#!/bin/bash
curl -s --location --request POST 'https://www.vavoo.tv/api/box/ping2' --header 'Content-Type: application/json' --data '{"vec": "ESCW9qWemIhPcbW9BF/6UksgdSq+9KhkiEzdhG3UatSD5zMQ9wsY7zlwGQjJj3nWSVsOfPdftTvgQOqTs09ArAgBCQ7KaxKe++WSiOyY46/s+zQhF898boiYLrdPYxVBidK5DZ07mOsBpmZTFQTFrgLX1kLWCwaK3Pp62UtEvuKgTJkGoSJKyrfBUfPx1R7s5VkoFjdFD4zt1qgohBRTs1H7EZ8swy6nuAeEwfrEsBpJJf//GVIKuRejweBwQsH7L9xWGuK/YCZvzJf0+gai/3j0KRF2RNwGx7StMfbXcxDFarVaJTERgJLI8yw35yADv+37o1Vk76mGsPY2dpsVe+FU8N6YHjk9Lc8Of9B4Lk4Kqd4onKNgynJOFsrkIfW0KoUcbcL1TCQMlEIvyoBjRWFh3oADMKCClNs3m1J0ibWzVjdLM7fBsEm3ua1t0fwyf6TZ/BhwQlfy53jRDiguxuuRgJXLeRfV7iUdyi2H0R5CD08pzbH4K+A1B162zmzKGAPzm7N4Yg72rnt4owpDx4PPgAfh0efTwT4dmCiqdKkcb3X16luKnJR/nM8hoBMFxAM/aH+K/5AYOBnqJC5EefIWvmF3VBUKkQzAmYJ/zP5/ZQDyvkgAfg/wCLugv6dsoIFdL+0A/uNBR2qweTbAyos0UiUcuzBytsCAAbjYxU2Pqws0Q"}' | sed 's#^.*"signed":"##' | sed "s#\"}}##g" > /home/hts/IPTV/authkey
exit 0
#!/bin/bash
url=$1
auth="$(cat /home/hts/IPTV/authkey)"
ffmpeg -loglevel fatal -user_agent "VAVOO/2.6" -re -i "$url?n=1&b=5&vavoo_auth="$auth"==" -vcodec copy -acodec copy -f mpegts pipe:1
exit 0
root@tvheadend-live:~# cd /home/hts/IPTV
root@tvheadend-live:/home/hts/IPTV# bash pipevavoo.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 986k 0 986k 0 0 10.9M 0 --:--:-- --:--:-- --:--:-- 11.0M
cat: vavoo: No such file or directory
cat: index: No such file or directory
pipevavoo.sh: line 7: syntax error near unexpected token `$'do\r''
'ipevavoo.sh: line 7: `for country in Germany; do
Da steht doch vavoo und Index nicht vorhanden und die Schleife funktioniert nicht
hast du auch einen Container?Meine pipevavoo.sh erstellt die m3us in /home, diese in tvh einlesen. So schwer ist das jetzt nicht
root@tvheadend-live:~# cd /home
root@tvheadend-live:/home# ls
authkey.sh ffpipe.sh hts iptv pipevavoo.sh
root@tvheadend-live:/home# bash pipevavoo.sh
#!/bin/bash
url="http://www2.vavoo.to/live2/index"
curl -k "https://www2.vavoo.to/live2/index?countries=all&output=json" > vavoo
echo "#EXTM3U" > index
cat vavoo | sed 's/\(}\),/\1}\n,/g' | sed 's/"url":"/"url":\n/g' | sed 's#,{\"group\":#\#EXTINF:-1 group-title=#g' | sed 's#,\"logo\":\"\",\"name\":#,#g' | sed 's/\"}.//' | sed 's/\",\"tvg.//' | sed 's#\",\"#\",#g' >> index
cat index | sed "s#https://#pipe:///home/ffpipe.sh https://#g" > index.m3u
for country in Germany; do
cat index.m3u | grep -E -A1 =\"$country > $country.m3u
#m3u
echo "#EXTM3U" > /home/pipevavoo-$country.m3u
cat $country.m3u >> /home/pipevavoo-$country.m3u
rm -rf $country.m3u
done
rm -rf index.m3u
rm index*
exit 0
#!/bin/bash
url=$1
auth="$(cat /home/authkey)"
ffmpeg -loglevel fatal -user_agent "VAVOO/2.6" -re -i "$url?n=1&b=5&vavoo_auth="$auth"==" -vcodec copy -acodec copy -f mpegts pipe:1
exit 0
#!/bin/bash
curl -s --location --request POST 'https://www.vavoo.tv/api/box/ping2' --header 'Content-Type: application/json' --data '{"vec": "ESCW9qWemIhPcbW9BF/6UksgdSq+9KhkiEzdhG3UatSD5zMQ9wsY7zlwGQjJj3nWSVsOfPdftTvgQOqTs09ArAgBCQ7KaxKe++WSiOyY46/s+zQhF898boiYLrdPYxVBidK5DZ07mOsBpmZTFQTFrgLX1kLWCwaK3Pp62UtEvuKgTJkGoSJKyrfBUfPx1R7s5VkoFjdFD4zt1qgohBRTs1H7EZ8swy6nuAeEwfrEsBpJJf//GVIKuRejweBwQsH7L9xWGuK/YCZvzJf0+gai/3j0KRF2RNwGx7StMfbXcxDFarVaJTERgJLI8yw35yADv+37o1Vk76mGsPY2dpsVe+FU8N6YHjk9Lc8Of9B4Lk4Kqd4onKNgynJOFsrkIfW0KoUcbcL1TCQMlEIvyoBjRWFh3oADMKCClNs3m1J0ibWzVjdLM7fBsEm3ua1t0fwyf6TZ/BhwQlfy53jRDiguxuuRgJXLeRfV7iUdyi2H0R5CD08pzbH4K+A1B162zmz/lFEdWGYSPZasx9uEB4ikdqXkRgBSpaU0fjywtFing6NxFdGFbrggFT5IzEf086fKOeHx1ryUCCsiI8viXEkETDyVNaWrxOy/xZoqxdYJ3ajuIHUMoZzMYWuumxP0ev5LvGNusLIQs2tmWN4M7m8hyg450m/N4CnQTw0MtDvrrokz9eFhgowe8h/yjEC8P502C47+Hcy1U8NiDL9F6dgseCDwHRUyck7bugmn+0zPE4zpGE9OOu02vfefutK7JNQhHkg7KMwj8f4zSSesf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sws0tjdByC7moinSCgv6dsoIFdL+0A/uNBR2qweTbAyos0UiUcuzBytsCAAbjYxU2Pqws0Q"}' | sed 's#^.*"signed":"##' | sed "s#\"}}##g" > /home/authkey
exit 0
root@tvheadend-live:/home# bash pipevavoo.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 980k 0 980k 0 0 5244k 0 --:--:-- --:--:-- --:--:-- 5217k
cat: vavoo: No such file or directory
cat: index: No such file or directory
pipevavoo.sh: line 7: syntax error near unexpected token `$'do\r''
'ipevavoo.sh: line 7: `for country in Germany; do
schauBei mir läuft alles unter proxmox in ct
Alle scripte nach /home
dann ein
chmod +x /home/*.sh
pipevavoo.sh ausführen und einlesen
Funktioniert natürlich nur mit meinen scripten, die nicht abgeändert wurden
root@tvheadend-live:~# chmod +x /home/*.sh
root@tvheadend-live:~# pipevavoo.sh
root@tvheadend-live:~# cd /home
root@tvheadend-live:/home# bash pipevavoo.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 980k 0 980k 0 0 8757k 0 --:--:-- --:--:-- --:--:-- 8679k
cat: vavoo: No such file or directory
cat: index: No such file or directory
pipevavoo.sh: line 7: syntax error near unexpected token `$'do\r''
'ipevavoo.sh: line 7: `for country in Germany; do
Du hast nach wie vor in pipevavoo.sh einen Syntaxerror. So lange du das nicht änderst, ist sch... egal in welchem Verzeinis das Ganze nicht funktioniert.pipevavoo.sh: line 7: syntax error near unexpected token `$'do\r''
'ipevavoo.sh: line 7: `for country in Germany; do
'ipevavoo.sh: ?Vermute da ein Problem mit Copy&Paste o.ä. Formatierung/Sonderzeichen flöten gegangen sowas.
Ja, bin ich ja..aber schau dir meine rot markierten Felder an und beantworte doch bitte die Frage..Geh das pipevavoo Script doch mal Zeile für Zeile durch und schau wo es hakt:
Also anfangen mit:
# curl -k "Sie müssen registriert sein, um Links zu sehen." > vavoo
Dann schauen ob die vavoo Datei geschrieben wurde.
Wenn Ja weiter mit:
# cat vavoo | sed 's/\(}\),/\1}\n,/g' | sed 's/"url":"/"url":\n/g' | sed 's#,{\"group\":#\#EXTINF:-1 group-title=#g' | sed 's#,\"logo\":\"\",\"name\":#,#g' | sed 's/\"}.//' | sed 's/\",\"tvg.//' | sed 's#\",\"#\",#g' >> index
Schauen ob index geschrieben wurde usw.
Vermute da ein Problem mit Copy&Paste o.ä. Formatierung/Sonderzeichen flöten gegangen sowas.
Wenn das ein Formstfehler ist dann hab ich schon den Fehler mit den dateien von salidos bekommen :-('ipevavoo.sh: ?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?