Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Laberthread - Autoscript Vavoo auf e2 oder TvHeadend

Wie laufen bei euch die Einzeiler

  • Stream + Picon + EPG funktioniert

    Stimmen: 36 45,6%
  • Stream + EPG funktioniert

    Stimmen: 12 15,2%
  • Stream + Picon funktioniert

    Stimmen: 3 3,8%
  • Nur Stream funktioniert

    Stimmen: 21 26,6%
  • Streams gehen garnicht

    Stimmen: 7 8,9%

  • Umfrageteilnehmer
    79
  • Umfrage geschlossen .
Grundsätzlich ist ja eigentlich schon alles in dem Script drin, was du brauchst.
Du musst ja nur ein paar Namen ändern.
Hi, habe heute den halben Tag verbracht und mir meinen eigenen Bouquet gemacht, funktioniert alles soweit, doch später nach einem Neustart, bleibt mein Bouquet dunkel, ich weiß jetzt nicht mehr weiter.
#!/bin/bash
#######################################################################################
#######################################################################################
### Laberthread - Autoscript Vavoo auf e2 oder TvHeadend
### On an idea of Clever999 modified by Demosat 09.02.2023
#######################################################################################
#######################################################################################
echo -e "\033[32m###Vavoo-Script on an idea of Clever999 modified by Demosat\033[0m"
sleep 2
echo -e "\033[32m###### thx to MasterX, giniman and Oyster for the authkey\033[0m"
sleep 2
echo -e "\033[32m###more info https://www.digital-eliteboard.com/threads/autoscript-vavoo-auf-e2.513335/\033[0m"
sleep 2
########################################################################################
########################################################################################
########################################################################################
echo "start install..."


###Paketprüfung
echo pruefe curl
PAKET=curl
if [[ -f $(which $PAKET 2>/dev/null) ]]
then
echo -e "\033[32m$PAKET ist bereits installiert...\033[0m"

else
echo -e "\033[33m$PAKET wird installiert...\033[0m"
opkg update && opkg install $PAKET
fi
sleep 1
vec=$(shuf -n 1 /home/vavookeys)
authkey="$(curl -k --location --request POST ' ' --header 'Content-Type: application/json' --data "{\"vec\": \"$vec\"}" | sed 's#^."signed":"##' | sed "s#\"}}##g" | sed 's/".//')"
curl -k " " > 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
mv index index.m3u
for country in Germany Spain Germany.tv; do
cat index.m3u | grep -E -A1 =\"$country > $country.m3u
# file m3u for vlc
echo erstelle $country.m3u...
echo "#EXTM3U" > vavoo-$country.m3u
cat $country.m3u | sed "s#.ts#.ts?n=1\&b=5\&vavoo_auth="$authkey"#g" | sed '/^#EXTINF/a#EXTVLCOPT:http-user-agent=VAVOO/2.6' >> vavoo-$country.m3u
# file for enigma2
echo erstelle vavoo-$country bouquets...
echo "#NAME Vavoo-"$country > /etc/enigma2/userbouquet.vavoo-$country.tv
cat $country.m3u | sed "s#.ts#.ts?n=1\&b=5\&vavoo_auth="$authkey"\#User-Agent=VAVOO/2.6#g" | sed '/^#EXTINF/{h;d}; /^http/G' | sed 's#,#,\#DESCRIPTION #g' | sed 's#^.*,##' | sed 's#:#%3a#g' | sed 's#http#\#SERVICE 4097:0:0:0:0:0:0:0:0:0:http#g' | sed '/--/d; s/#DESCRIPTION/@#DESCRIPTION/g' | sed '$!N;s/\n/ /' | sort -k 4 | sed 's/@/\n/g; s/@//g' >> /etc/enigma2/userbouquet.vavoo-$country.tv
if cat /etc/enigma2/vavoo-Germany/bouquets.tv | grep vavoo-$country > /dev/null 2>&1
then
echo -e Entry bouquets.tv $country available > /dev/null 2>&1
else
echo -e Entry bouquets.tv $country is missing > /dev/null 2>&1
echo "#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET \"userbouquet.vavoo-$country.tv\" ORDER BY bouquet" >> /etc/enigma2/vavoo-Germany/bouquets.tv
fi
rm -rf $country.m3u
done
rm index*
rm userbouquet.vavoo-Germany.tv
rm vavoo-Germany.m3u
####bouquets.tv SID pruefen###
if
cat /etc/enigma2/bouquets.tv | grep vavoosid > /dev/null 2>&1
then
echo -e Eintrag bouquets.tv vorhanden > /dev/null 2>&1
else
echo -e Eintrag bouquets.tv fehlt > /dev/null 2>&1
echo "#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET \"userbouquet.vavoosid.tv\" ORDER BY bouquet" >> /etc/enigma2/bouquets.tv
fi

####pfad zur userbouquet sid###
echo erstelle SID Germany
pfad=/etc/enigma2/userbouquet.vavoo-Germany.tv
###sids bearbeiten####
echo "#NAME vavooSID" > e3
echo "#SERVICE 1:64:1:2:0:0SID:0:0:0:0:http%3a//egal.de:##### FTA #####" >> e3
 
Zuletzt bearbeitet von einem Moderator:
Cronjobs für alle 10 Minuten und bei Reboot angelegt?

*/10 * * * * sh /PFAD/ZU/DEINEM/SCRIPT.sh
@reboot sh /PFAD/ZU/DEINEM/SCRIPT.sh

Nebenbei:
Mit dem Script, bekommst du aber kein EPG ans Laufen. Da fehlen die SiD Änderungen/Zuweisungen.

Also das noch ins Script

if cat /etc/cron/crontabs/root | grep /home/vavoosid.sh > /dev/null 2>&1
then
echo -e "\033[32mCron vorhanden\033[0m"
else
echo -e "\033[33mCron Update\033[0m"
echo "*/10 * * * * /home/vavoosid.sh" >> /etc/cron/crontabs/root
echo "@reboot /home/vavoosid.sh" >> /etc/cron/crontabs/root
fi

Hier die vavoosid.sh nochmal als Donwload:




Wie Obi-Wan einst sagte:
"...und keine weiteren Fragen!"
 
Zuletzt bearbeitet:
Hello:

I'm trying to create a VLC file and until now it worked without problems, but now I can't:

When I execute this script (I have the vavookeys file from here: https://www.digital-eliteboard.com/resources/vavoo-keys.6624/ ):

Code:
#!/bin/bash
### https://www.digital-eliteboard.com/threads/autoscript-vavoo-auf-e2.513335/
### On an idea of Clever999 modified by Demosat 30/05/2023
### thx to MasterX, giniman an Oyster for the authkey

vec=$(awk 'NR==40' vavookeys)
authkey="$(curl -k --location --request POST 'https://www.vavoo.tv/api/box/ping2' --header 'Content-Type: application/json' --data "{\"vec\": \"$vec\"}" | sed 's#^."signed":"##' | sed "s#\"}}##g" | sed 's/".//')"
curl -k "https://www2.vavoo.to/live2/index?countries=all&output=json" > vavoo

I get the error:

curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to www2.vavoo.to:443


Is there a problem with "vavookeys" file or with the vavoo web... or something wrong in the script (it worked until now)?

Thanks in advance and kind regards
 
Well... I tried the script in other place with OTHER ISP PROVIDER, and it works.

It seems that my ISP is "blocking" the connection with vavoo.

Is there a way to prevent my internet provider from detecting (and aborting) the connection?
Changing the device's DNS does NOT work.

Perhaps any option to add to curl parts of the script?


Code:
authkey="$(curl -k --location --request POST 'https://www.vavoo.tv/api/box/ping2' --header 'Content-Type: application/json' --data "{\"vec\": \"$vec\"}" | sed 's#^.*"signed":"##' | sed "s#\"}}##g" | sed 's/".*//')"
curl -k "https://www2.vavoo.to/live2/index?countries=all&output=json" > vavoo

Kind regards
 
die Frage stell ich mich auch der Einzeiler von cleever999 läuft seit ich
ihn drauf hab ohne Probleme
Gruß
 
Wo ist den das Problem sich die .sh von da
und die vavoo-keys
nach /tmp zu schieben und dann über Telnet
mv /tmp/vavoosid.sh /home/vavoosid.sh && mv /tmp/vavookeys /home/vavookeys && chmod +x /home/vavoosid.sh && bash /home/vavoosid.sh

oder
 
Zurück
Oben