Ergebnis 1 bis 10 von 10
-
19.04.2023, 11:08 #1
- Registriert seit
- 14.08.2013
- Ort
- Romania
- Beiträge
- 16
- Thanks (gegeben)
- 27
- Thanks (bekommen)
- 7
- Total Downloaded
- 737,6 KB
- Total Downloaded
- 737,6 KB
Box 1:GigaBlue QuadBox 2:VU+ Solo 4Kscript that can activate a specific TV channel when a receiver is put into standby
Hi all
script that can activate a specific TV channel when a receiver is put into standby mode
Is it possible to do it?
-
Advertising
-
19.04.2023, 11:48 #2
- Registriert seit
- 12.10.2020
- Beiträge
- 3.360
- Thanks (gegeben)
- 848
- Thanks (bekommen)
- 2158
- Total Downloaded
- 465,3 KB
- Total Downloaded
- 465,3 KB
Box 1:Axas HIS 4K Combo mit ATV 7.3Box 2:OSmio4K+ mit ATV 7.3Box 3:AX HD61 mit ATV 7.3Box 4:Mutant HD51 mit ATV 7.3Box 5:OS mini mit ATV 7.3Sorry if I have missunderstand you,but why with a script?Channellist/Menue/Set as startup service.
Ab 2024 nur inaktiv,wenn die Gesundheit einem einen Strich durch die Rechnung macht.
-
19.04.2023, 12:17 #3
- Registriert seit
- 14.08.2013
- Ort
- Romania
- Beiträge
- 16
- Thanks (gegeben)
- 27
- Thanks (bekommen)
- 7
- Total Downloaded
- 737,6 KB
- Total Downloaded
- 737,6 KB
ThemenstarterBox 1:GigaBlue QuadBox 2:VU+ Solo 4KThank you for the answer
I want that specific channel to run in the "background", after I activate standby mode
-
19.04.2023, 12:33 #4
- Registriert seit
- 20.04.2013
- Beiträge
- 24.824
- Thanks (gegeben)
- 4679
- Thanks (bekommen)
- 9077
- Total Downloaded
- 596,61 MB
- Total Downloaded
- 596,61 MB
Box 1:GB Q4K-SC / UE4K-SC / UE4K-CBox 2:GigaBlue Q-SSC / Q+-SSCBox 3:DM900uhd-SS / Vu+DuoBox 4:ZGemma H7/H9 SF8008Box 5:diverse andere . . .In standby, there is no tuner activate, and no stream within the box active, too.
You only can call a specific stream from an external device (other box or PC), to enforce an active stream running, when you sent the box itself to standby. In deep that is of course not possible.Grüßle
Ralf
---------------------------------------------
Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
Astra 19.2E UniCable & KabelBW, oATV/teamBlue
(u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----
-
19.04.2023, 12:40 #5
- Registriert seit
- 14.08.2013
- Ort
- Romania
- Beiträge
- 16
- Thanks (gegeben)
- 27
- Thanks (bekommen)
- 7
- Total Downloaded
- 737,6 KB
- Total Downloaded
- 737,6 KB
ThemenstarterBox 1:GigaBlue QuadBox 2:VU+ Solo 4KYes, this is how I do it at the moment. I activate the service from another device. I was curious if everything can be done automatically with a script.
-
19.04.2023, 13:10 #6
-
19.04.2023, 13:28 #7
- Registriert seit
- 02.01.2017
- Ort
- Slovakia
- Beiträge
- 1.460
- Thanks (gegeben)
- 91
- Thanks (bekommen)
- 418
- Total Downloaded
- 323,0 KB
- Total Downloaded
- 323,0 KB
Box 1:Vu+ Zero 4KBox 2:Vu+ Solo SE V2Box 3:Formuer F4-TURBOHi.
It is possible to do it !
It is enough to call the tuner through the OpenWebif interface using the Linux Shell, and the TV display will not turn on (it will remain off). Namely, calling the OpenWebif interface, in order to switch the channel, does not affect whether the TV is in standby. Likewise, Enigma2 itself will remain in Standby mode. Only the DVB tuner is simply activated / started, using the OpenWebif interface:
Code:wget -qO- "http://127.0.0.1/api/zap?sRef=1:0:19:3731:C8E:3:EB0000:0:0:0:" # activating the tuner in the set-top box, with the help of OpenWebif call wget -qO- "http://127.0.0.1/api/zap?sRef=0" # if you want stop the tuner
If you wanted a fully automated script, then it would be possible to use two scripts:
/usr/script/StandbyEnter.sh
/usr/script/StandbyLeave.sh
...which are called every time you enter or leave the standby mode in the Enigma2 algorithm.
If these scripts (and also directories) does not exists, you must create them. Then assign execution rights to the files (chmod a+x /usr/script/*.sh)
One small example of the /usr/script/StandbyEnter.sh script:
Code:#!/bin/bash ZAPCHANNEL="1:0:19:3731:C8E:3:EB0000:0:0:0:" # Service-Reference-Code of the satellite channel - for invoke the ZAP function, via Enigma2 / Open-Webif ZAPDELAY=3 # some delay in seconds CMD="sleep ${ZAPDELAY}; /usr/bin/wget -qO- 'http://127.0.0.1/api/zap?sRef=${ZAPCHANNEL}' > /dev/null 2>&1;" eval "${CMD}" &>/dev/null & disown; # run the $CMD at the background
Geändert von s3n0 (21.04.2023 um 11:32 Uhr)
-
Danke - 1 Thanksmitcd bedankten sich
-
19.04.2023, 13:50 #8
-
Danke - 1 ThanksMakumbo bedankten sich
-
19.04.2023, 13:59 #9
- Registriert seit
- 20.04.2013
- Beiträge
- 24.824
- Thanks (gegeben)
- 4679
- Thanks (bekommen)
- 9077
- Total Downloaded
- 596,61 MB
- Total Downloaded
- 596,61 MB
Box 1:GB Q4K-SC / UE4K-SC / UE4K-CBox 2:GigaBlue Q-SSC / Q+-SSCBox 3:DM900uhd-SS / Vu+DuoBox 4:ZGemma H7/H9 SF8008Box 5:diverse andere . . .You can do that. But in the WebIF you will see, that even with that ZAP (yes, it is done) NO tuner will be active, and therefore also NO internal stream..
You could make a virtual stream-workflow to " -> NONE" (device zero as output), but you would need to pipe all neccesary commands yourself in the script.
And in times of reducing power consumption, that may NOT be done, because it is pure waste.Grüßle
Ralf
---------------------------------------------
Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
Astra 19.2E UniCable & KabelBW, oATV/teamBlue
(u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----
-
19.04.2023, 14:03 #10
- Registriert seit
- 02.01.2017
- Ort
- Slovakia
- Beiträge
- 1.460
- Thanks (gegeben)
- 91
- Thanks (bekommen)
- 418
- Total Downloaded
- 323,0 KB
- Total Downloaded
- 323,0 KB
Box 1:Vu+ Zero 4KBox 2:Vu+ Solo SE V2Box 3:Formuer F4-TURBOHe probably needs the tuner running for the reason (I'm just guessing) to write EMMs to the decoding card... or some other similar reason. It's definitely not just for fun . So it's not about whether the set-top box will eat electricity or not.
Lesezeichen