Seite 2 von 4 ErsteErste 1234 LetzteLetzte
Ergebnis 11 bis 20 von 35
  1. #11
    Avatar von Pike_Bishop
    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
    ReceiverDanke
    Box 1:
    Mutant HD2400
     
     
    Box 2:
    VU Ultimo 4K
     
     
    Box 3:
    Octagon SF8008
     
     
    Box 4:
    Gigablue Quad 4K
     
     
    Box 5:
    VDR
     
     
    ok, here i attach it.


    regards
    Pike
    Angehängte Dateien Angehängte Dateien

    •   Alt Advertising

       

  2. #12
    Mitglied
    Registriert seit
    13.12.2017
    Beiträge
    31
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tuner
     
     
    Thank you your file works fine.
    I do'nt understand the problem with mine
    I used notepad++ with linux many time without problem

    Best regards

  3. #13
    Mitglied
    Registriert seit
    13.12.2017
    Beiträge
    31
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tuner
     
     
    You were right
    I examined my file with hex editor it contains 0D print type

    Thanks again Pike

  4. #14
    Avatar von Pike_Bishop
    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
    ReceiverDanke
    Box 1:
    Mutant HD2400
     
     
    Box 2:
    VU Ultimo 4K
     
     
    Box 3:
    Octagon SF8008
     
     
    Box 4:
    Gigablue Quad 4K
     
     
    Box 5:
    VDR
     
     
    Hi,

    then check this settings in Notepad++ (they must be the same as in my following pictures);

    How to make macro command with remote control ?-1.jpg

    How to make macro command with remote control ?-2.jpg


    regards
    Pike

  5. #15
    Mitglied
    Registriert seit
    13.12.2017
    Beiträge
    31
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tuner
     
     

    Ads 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
    2c:
    With hotkey attrib (Shellscripts) pip_swap_close.sh to long press on the red button
    Angehängte Dateien Angehängte Dateien
    Geändert von houbahop (02.02.2021 um 21:11 Uhr)

  6. #16
    Mitglied
    Registriert seit
    13.12.2017
    Beiträge
    31
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tuner
     
     
    Hi !
    Do you know if there is a way for a script to know if pip is active ?
    Thanks

  7. #17
    Avatar von Pike_Bishop
    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
    ReceiverDanke
    Box 1:
    Mutant HD2400
     
     
    Box 2:
    VU Ultimo 4K
     
     
    Box 3:
    Octagon SF8008
     
     
    Box 4:
    Gigablue Quad 4K
     
     
    Box 5:
    VDR
     
     
    no i didn't

  8. Thanks houbahop bedankten sich
  9. #18
    Mitglied
    Registriert seit
    13.12.2017
    Beiträge
    31
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tuner
     
     

    PIP 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

    exit
    Angehängte Dateien Angehängte Dateien
    Geändert von houbahop (06.02.2021 um 13:42 Uhr)

  10. Thanks Pike_Bishop bedankten sich
  11. #19
    Mitglied
    Registriert seit
    13.12.2017
    Beiträge
    31
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ DUO 4k SE Openatv 6.4 / 2 dual mtsif dvb-t2 tuner
     
     
    Hello,
    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
    How to make macro command with remote control ?-capture-ecran-2022-12-22-223301.png:


    We see that the script does not run since the first thing it should do is to close the window automatically
    Geändert von houbahop (22.12.2022 um 22:44 Uhr)

  12. #20
    Avatar von Pike_Bishop
    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
    ReceiverDanke
    Box 1:
    Mutant HD2400
     
     
    Box 2:
    VU Ultimo 4K
     
     
    Box 3:
    Octagon SF8008
     
     
    Box 4:
    Gigablue Quad 4K
     
     
    Box 5:
    VDR
     
     
    Hi,

    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
    then try it again, and look in logfile if it works correct.



    regards
    Pike


Seite 2 von 4 ErsteErste 1234 LetzteLetzte

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:04 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 4,76%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com