Seite 2 von 4 ErsteErste 1234 LetzteLetzte
Ergebnis 11 bis 20 von 31
  1. #11
    Avatar von madie
    Registriert seit
    05.04.2013
    Beiträge
    481
    Thanks (gegeben)
    1409
    Thanks (bekommen)
    3257
    Total Downloaded
    295,50 MB
    Total Downloaded
    295,50 MB
    ReceiverDanke
    Box 1:
    AX HD51
     
     
    das ist nur eine änderung für hotkey. ruft dann direkt das script in der console auf. ohne rückfrage wird das ausgeführt.

    mal sehen, wenn ich dazu komme mach ich das noch anders. wenn ppanel installiert nimm das, wenn nicht führe es direkt in der console aus.
    Geändert von madie (17.08.2015 um 19:30 Uhr)
    Du kannst niemals alle mit deinem Tun begeistern. Selbst wenn du übers Wasser laufen kannst, kommt einer daher und fragt, ob du zu blöd zum Schwimmen bist.[/CENTER]

  2. Thanks aspeorocopolus bedankten sich
    •   Alt Advertising

       

  3. #12
    Avatar von madie
    Registriert seit
    05.04.2013
    Beiträge
    481
    Thanks (gegeben)
    1409
    Thanks (bekommen)
    3257
    Total Downloaded
    295,50 MB
    Total Downloaded
    295,50 MB
    ReceiverDanke
    Box 1:
    AX HD51
     
     
    hab es mal so eingebaut. hoffe passt so: https://github.com/openatv/enigma2/c...19541e60029c33
    Du kannst niemals alle mit deinem Tun begeistern. Selbst wenn du übers Wasser laufen kannst, kommt einer daher und fragt, ob du zu blöd zum Schwimmen bist.[/CENTER]

  4. Thanks - bedankten sich
  5. #13
    Pike_Bishop
    Gast
    Hi madie,

    Danke - wird schon passen so - sind ja dann beide Fälle berücksichtigt also ob ppanel installiert oder nicht.


    Grüsse
    Biki3

  6. #14
    Anfänger Avatar von tommi32
    Registriert seit
    04.01.2018
    Beiträge
    15
    Thanks (gegeben)
    2
    Thanks (bekommen)
    2
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    VU+ UNO 4K
     
     
    Box 2:
    VU+ ZERO 4K
     
     
    I want to map the AV button on remote control to run .sh script.
    The "hotkey" in the settings dont allow to map this button. Is there a way to map the script to AV?

  7. #15
    Anfänger
    Registriert seit
    10.10.2020
    Beiträge
    12
    Thanks (gegeben)
    0
    Thanks (bekommen)
    0
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    Octagon SF8008 Mini 4K UHD E2
     
     
    Hello,

    I have mapped button on remote to run script, and I need close this panel after completion
    or I dont need show this panel on image on link

    https://thumbs.uloz.to/e/b/d/ebda18b...Xu_r-7t9Zw&bl=

    is it possible?

    - any commad to script to close this?
    - any setting in Enigma2 to dont open this?
    - any else?

    thanks

  8. #16
    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,

    you want to close the window automatically with the script or ?
    if so, you need first the wget command for that as examle;

    Code:
    BOXIP=http://localhost
    WGET=/usr/bin/wget
    $WGET -q -O - $BOXIP/web/remotecontrol?command=174 && sleep 2
    the sleep you can remove if you want, it's only a example that i use often in my scripts.

    and at least if you start the script with a button about hotkey you need to rename the script to a name with hidden in it as example to test.hidden.sh

    you may also show messages on osd with wget if you need them in scripts and use logging instead of the outputs from echo in the script window.
    as example type the following in telnet;
    Code:
    BOXIP=http://localhost
    WGET=/usr/bin/wget
    LOGFILE=/tmp/not_good_to_read
    $WGET -O - -q "$BOXIP/web/message?text=ABORT%20---%20Details%20thereto%20in%3B%0A$LOGFILE%20&type=3" > /dev/null
    then you can see what i mean on your box (tv). this message you can close then with ok button.

    or you use a message with a timeout instead of the last line in the last code. as example;
    Code:
    $WGET -O - -q "$BOXIP/web/message?text=ABORT%20---%20Details%20thereto%20in%3B%0A$LOGFILE%20&type=3&timeout=10" > /dev/null
    then this message is closing itself after the timeout.


    regards
    Pike
    Geändert von Pike_Bishop (29.11.2020 um 00:01 Uhr)

  9. #17
    Anfänger
    Registriert seit
    10.10.2020
    Beiträge
    12
    Thanks (gegeben)
    0
    Thanks (bekommen)
    0
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    Octagon SF8008 Mini 4K UHD E2
     
     
    hello,

    yes, I need close this window automatically

    i have script in "usr/script/AV.sh"

    how i need write this?

    thanks

  10. #18
    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,

    as i wrote in my last post with;
    Code:
    BOXIP=http://localhost
    WGET=/usr/bin/wget
    $WGET -q -O - $BOXIP/web/remotecontrol?command=174
    command=174 is the same as you press the button exit on your rc
    but if you want post your script and i make it for you.

    but i need also to know how you start this script - with hotkey or with what ?


    regards
    Pike
    Geändert von Pike_Bishop (29.11.2020 um 02:13 Uhr)

  11. #19
    Anfänger
    Registriert seit
    10.10.2020
    Beiträge
    12
    Thanks (gegeben)
    0
    Thanks (bekommen)
    0
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Box 1:
    Octagon SF8008 Mini 4K UHD E2
     
     
    Hello,

    I start this script via button on IR - remote control
    - in hotkey settings as shell script

    this script:

    Code:
    #!/bin/sh
    
    # if directory does not exist, must be created the new one /usr/script/
    # bash-script files must be located at this place: /usr/script/*.sh
    # new script files in your Enigma2 must to have a execution rights: $ chmod 755 /usr/script/*.sh
    
    # shell command to switch input on LG-TV through RS232 interface:
    
    
    echo "mc 01 0B" > /dev/ttyUSB0

  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,

    ok then try this;
    Code:
    #!/bin/sh
    
    # if directory does not exist, must be created the new one /usr/script/
    # bash-script files must be located at this place: /usr/script/*.sh
    # new script files in your Enigma2 must to have a execution rights: $ chmod 755 /usr/script/*.sh
    
    # shell command to switch input on LG-TV through RS232 interface:
    
    BOXIP=http://localhost
    WGET=/usr/bin/wget
    
    $WGET -q -O - $BOXIP/web/remotecontrol?command=174
    echo "mc 01 0B" > /dev/ttyUSB0
    
    exit
    but rename the script to whatever.hidden.sh and replace whatever with what you think.


    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 12:48 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 5,56%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com