Ergebnis 11 bis 20 von 35
-
02.02.2021, 00:50 #11
- Registriert seit
- 11.02.2020
- Ort
- here and there
- Beiträge
- 2.424
- Thanks (gegeben)
- 641
- Thanks (bekommen)
- 1648
- Total Downloaded
- 0
- Total Downloaded
- 0
Box 1:Mutant HD2400Box 2:VU Ultimo 4KBox 3:Octagon SF8008Box 4:Gigablue Quad 4KBox 5:VDRok, here i attach it.
regards
Pike
-
Advertising
-
02.02.2021, 00:58 #12
- Registriert seit
- 13.12.2017
- Beiträge
- 31
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterBox 1:VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tunerThank you your file works fine.
I do'nt understand the problem with mine
I used notepad++ with linux many time without problem
Best regards
-
02.02.2021, 01:09 #13
- Registriert seit
- 13.12.2017
- Beiträge
- 31
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterBox 1:VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tunerYou were right
I examined my file with hex editor it contains 0D print type
Thanks again Pike
-
02.02.2021, 01:18 #14
-
02.02.2021, 10:33 #15
- Registriert seit
- 13.12.2017
- Beiträge
- 31
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterBox 1:VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tunerAds filtering pip
I really liked the ads filtering mode pip in this thread
Lost PiP
but the development seems abandoned
Thank to @Pike_Bishop here my solution
1 I use short press in the red button to activate the pip
2 I use long press in the red button to return to initial chanel and close pip
1: very simple with hotkey menu
2a:
I didn't wanted use a real button of my remote control to program swap pip function
I searched buttons maching with hotkey and I found a list of 75 possible. Many off them with long press ability (see atachment)
I have chosen long press on the www button (code 150)
2 methods to program it
- 1 editing the /etc/enigma2/setting and add line : config.misc.ButtonSetup.www_long=Infobar/swapPiP
or
- 2 goto the hotkey setting menu and under windows cmd type :
curl -u root:passwd http://ip_of_the_box:80/web/remotecontrol -d type=long -d command=150
and on the box chose swap pip
2b:
copy this script in /user/script with the name pip_swap_close.sh attrib 755
#!/bin/sh
## Variablen ##
BOXIP=http://localhost
WGET=/usr/bin/wget
TMP=/tmp
LOGFILE=$TMP/pip_macro.log
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>$LOGFILE 2>&1
# close the first window automatically, you didn't need it.
$WGET -q -O - $BOXIP/web/remotecontrol\?command=174
# it's the same as you press the www button on your rc.
$WGET -q -O - $BOXIP/web/remotecontrol?type=long\&command=150
sleep 0.5
# it's the same as you press the red button on your rc.
$WGET -q -O - $BOXIP/web/remotecontrol?command=398
exit
With hotkey attrib (Shellscripts) pip_swap_close.sh to long press on the red buttonGeändert von houbahop (02.02.2021 um 21:11 Uhr)
-
03.02.2021, 09:29 #16
- Registriert seit
- 13.12.2017
- Beiträge
- 31
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterBox 1:VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tunerHi !
Do you know if there is a way for a script to know if pip is active ?
Thanks
-
03.02.2021, 22:02 #17
- Registriert seit
- 11.02.2020
- Ort
- here and there
- Beiträge
- 2.424
- Thanks (gegeben)
- 641
- Thanks (bekommen)
- 1648
- Total Downloaded
- 0
- Total Downloaded
- 0
Box 1:Mutant HD2400Box 2:VU Ultimo 4KBox 3:Octagon SF8008Box 4:Gigablue Quad 4KBox 5:VDRno i didn't
-
Danke - 1 Thankshoubahop bedankten sich
-
06.02.2021, 13:40 #18
- Registriert seit
- 13.12.2017
- Beiträge
- 31
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterBox 1:VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tunerPIP Ads filtering function with only one key
hi,
I wrote a second version that zaps the last zapped channel.
It use the same key to open and close the pip . for example the blue key
I use two hotkeys inside the script
the first: long press on the www -> Infobar - swap pip
the second: short press on the www -> Infobar - Show pip
to create them you can add this lines in /etc/enigma2/setting
config.misc.ButtonSetup.www=Infobar/showPiP
config.misc.ButtonSetup.www_long=Infobar/swapPiP
I save the afpip.sh script in usr / script attrib 755
I attrib the script afpip.sh to the hotkey blue
Script afpip.sh
#!/bin/sh
## Variablen ##
BOXIP=http://localhost
WGET=/usr/bin/wget
TMP=/tmp
LOGFILE=$TMP/pip_macro.log
PIPSTATE=$TMP/pip.xml
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>$LOGFILE 2>&1
# close the first window automatically, you didn't need it.
$WGET -q -O - $BOXIP/web/remotecontrol?command=174
if [ ! -f $PIPSTATE ] # if don't exists /tmp/pip.xml
then
$WGET -q -O - $BOXIP/web/subservices > $PIPSTATE
service=$(sed -n 's,^.*<e2servicereference>\(.*\)</e2servicereference>.*$,\1,p' $PIPSTATE)
echo "<e2servicereference>"$service"</e2servicereference>" > $PIPSTATE
echo "<pip>off</pip>" >> $PIPSTATE
fi
fpip=$(sed -n 's,^.*<pip>\(.*\)</pip>.*$,\1,p' $PIPSTATE)
if [[ $fpip = "off" ]]
then
# it's the same as you SHORT press the www button on your rc. > pip
$WGET -q -O - $BOXIP/web/remotecontrol?command=150
sleep 1
service=$(sed -n 's,^.*<e2servicereference>\(.*\)</e2servicereference>.*$,\1,p' $PIPSTATE)
$WGET -q -O - $BOXIP/web/zap?sRef=$service
echo "<e2servicereference>"$service"</e2servicereference>" > $PIPSTATE
echo "<pip>on</pip>" >> $PIPSTATE
else
$WGET -q -O - $BOXIP/web/subservices > $PIPSTATE
service=$(sed -n 's,^.*<e2servicereference>\(.*\)</e2servicereference>.*$,\1,p' $PIPSTATE)
echo "<e2servicereference>"$service"</e2servicereference>" > $PIPSTATE
echo "<pip>off</pip>" >> $PIPSTATE
# it's the same as you LONG press the www button on your rc. -> swap pip
$WGET -q -O - $BOXIP/web/remotecontrol?type=long\&command=150
sleep 1
# it's the same as you SHORT press the www button on your rc. > close pip
$WGET -q -O - $BOXIP/web/remotecontrol?command=150
fi
exitGeändert von houbahop (06.02.2021 um 13:42 Uhr)
-
Danke - 1 ThanksPike_Bishop bedankten sich
-
22.12.2022, 22:29 #19
- Registriert seit
- 13.12.2017
- Beiträge
- 31
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterBox 1:VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tunerHello,
Since a few enigma2 updates, I can no longer run my afpip.sh script.(attribute 755)
- if I execute it in telnet with the command
root@vuduo4se: /usr/script# sh af_pip.sh
It works properly
- if I assign it to a hotkey, I have the following screen
:
We see that the script does not run since the first thing it should do is to close the window automaticallyGeändert von houbahop (22.12.2022 um 22:44 Uhr)
-
22.12.2022, 22:49 #20
- Registriert seit
- 11.02.2020
- Ort
- here and there
- Beiträge
- 2.424
- Thanks (gegeben)
- 641
- Thanks (bekommen)
- 1648
- Total Downloaded
- 0
- Total Downloaded
- 0
Box 1:Mutant HD2400Box 2:VU Ultimo 4KBox 3:Octagon SF8008Box 4:Gigablue Quad 4KBox 5:VDRHi,
rename the script to af_pip.hidden.sh and then add it new to hotkey.
do not forget to make it executable with;
Code:chmod 755 /usr/script/af_pip.hidden.sh
regards
Pike
Lesezeichen