Better consider trying to obtain a 'full' enigma2 capable remote instead of keeping this enigma1 remote...
I can't understand, I'd like an example thanks
Posted 15 October 2019 - 00:17
Hi,
you know, first your script must to directory /usr/script on your box , and if you named the script as example "!message.sh" you must set it executable
with the following command in telnet or ssh;
chmod 755 /usr/script/!message.sh
it is also important that you create your scripts only with a linux compatible editor as example with notepad++
try this and name it !message.sh;
#!/bin/sh BOXIP=http://localhost WGET=/usr/bin/wget sleep 3 $WGET -O - -q "$BOXIP/web/message?text=Hallo%21%21%21%2E%2E%2E%2E&type=1&timeout=10" > /dev/null exit
it has a sleep now (sleep 3) this means if you start the script that the message is coming after 3 seconds.
good luck.
regards
Pike
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 15 October 2019 - 06:50
Hi,
you know, first your script must to directory /usr/script on your box , and if you named the script as example "!message.sh" you must set it executable
with the following command in telnet or ssh;
chmod 755 /usr/script/!message.shit is also important that you create your scripts only with a linux compatible editor as example with notepad++
try this and name it !message.sh;
#!/bin/sh BOXIP=http://localhost WGET=/usr/bin/wget sleep 3 $WGET -O - -q "$BOXIP/web/message?text=Hallo%21%21%21%2E%2E%2E%2E&type=1&timeout=10" > /dev/null exitit has a sleep now (sleep 3) this means if you start the script that the message is coming after 3 seconds.
good luck.
regards
Pike
Hi Pike, I thank you for the answer, I did as you say, positioned the script /usr/script/!message.sh then besides the 755 attributes I also executed the dos2unix of the script but anyway it doesn't go. Only from the shell yes. I tried, in hotkey, to assign it to the Blue and Blue Long button but the script does not start.
Posted 15 October 2019 - 08:12
This 'will' introduce a kind of 'race' condition. When you press e.g. menu or something else when before the 3 seconds are passed...
This is always a tricky work-a-round and not recommended.
The solution of this specific user is to manipulate that xml file.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 15 October 2019 - 08:17
This 'will' introduce a kind of 'race' condition. When you press e.g. menu or something else when before the 3 seconds are passed...
This is always a tricky work-a-round and not recommended.
The solution of this specific user is to manipulate that xml file.
Which XML file is to be manipulated? but above all how to do? You can have a typical example ....
maybe to assign to the keys
TV=PLAY
RADIO=PAUSE
TEXT=FORWARD
HELP=REWIND
Important....I need the keys to interact when streaming is in progress
Edited by zaccomass, 15 October 2019 - 08:21.
Posted 15 October 2019 - 09:21
As far I remember this remote has a shift function. So you can press another button and then the color button and the function below the the button was executed... But it is a long long long time ago I used this old type style DMM remote...
If so no change at all is needed... You just need to use the shift button (not nice, but that happens when the remote has lack of buttons).
https://www.manualsl...?page=99#manual
Edited by littlesat, 15 October 2019 - 09:24.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 15 October 2019 - 09:24
As far I remember this remote has a shift function. So you can press another button and then the color button and the function below the the button was executed... But it is a long long long time ago I used this old type style DMM remote...
If so no change at all is needed....
the problem is to understand which other key should be pressed !!! I tried shift but it doesn't go ....
Edited by zaccomass, 15 October 2019 - 09:27.
Posted 15 October 2019 - 09:31
The best solution is try to get a decent remote with sufficient buttons. Using this remote is always work-a-round thinks.
I can somehow make my 4.0 compatible with the use of scripts in hotkeys, which is already enough for me, thanks
given that with 6.0 they work? I repeat I don't want to change my image, I prefer 4.0
Edited by zaccomass, 15 October 2019 - 09:32.
Posted 15 October 2019 - 12:24
The best way (as 4.0 doesn't get updates anymore) you can adapt the xml file regarding the keymapping.
give me a hand please modify it
Which XML file is to be manipulated? but above all how to do? You can have a typical example ....
maybe to assign to the keys
TV=PLAY
RADIO=PAUSE
TEXT=FORWARD
HELP=REWIND
Important....I need the keys to interact when streaming is in progress
Edited by zaccomass, 15 October 2019 - 12:25.
Posted 15 October 2019 - 13:13
Change this file
https://github.com/O...data/keymap.xml
it is located on /usr/share/enigma2 on your box
Just an example...
<map context="InfobarSeekActions"> <key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b"/> <key id="KEY_NEXTSONG" mapto="seekFwd" flags="b"/> <key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l"/> <key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l"/> <key id="KEY_PLAYPAUSE" mapto="playpauseService" flags="m"/> - <key id="KEY_PAUSE" mapto="pauseService" flags="m"/> + <key id="KEY_YELLOW" mapto="pauseService" flags="m"/> <key id="KEY_PLAY" mapto="unPauseService" flags="m"/> <key id="KEY_REWIND" mapto="seekBack" flags="b"/> <key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b"/> <key id="KEY_REWIND" mapto="seekBackManual" flags="l"/> <key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l"/> <key id="KEY_PREVIOUS" mapto="jumpPreviousMark" flags="m"/> <key id="KEY_NEXT" mapto="jumpNextMark" flags="m"/> <key id="KEY_LEFT" mapto="seekBack" flags="m"/> <key id="KEY_RIGHT" mapto="seekFwd" flags="m"/> <key id="KEY_OK" mapto="okButton" flags="m"/> <key id="KEY_1" mapto="seekdef:1" flags="m"/> <key id="KEY_3" mapto="seekdef:3" flags="m"/> <key id="KEY_4" mapto="seekdef:4" flags="m"/> <key id="KEY_6" mapto="seekdef:6" flags="m"/> <key id="KEY_7" mapto="seekdef:7" flags="m"/> <key id="KEY_9" mapto="seekdef:9" flags="m"/> </map>
Edited by littlesat, 15 October 2019 - 13:14.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
0 members, 1 guests, 0 anonymous users