Jump to content


Photo

HOTKEY - problems / suggestions


  • Please log in to reply
579 replies to this topic

Re: HOTKEY - problems / suggestions #541 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 8 February 2018 - 19:26

In the filename?

But it is in accordance with the advice from mrvica:

https://forums.openp...-27#entry794222

Anyway, sh files without the exclamation mark in the name do not work either. :(

It is about HD51 and OpenPLi 6.1.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #542 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 8 February 2018 - 22:40

Looks like the sh file is nog there....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: HOTKEY - problems / suggestions #543 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 8 February 2018 - 23:20

But it is there because I selected it using Hotkey.

 

However, telnet does not see it either:

 

root@hd51:~# /usr/bin/!oscam_restart.sh
-sh: /usr/bin/!oscam_restart.sh: not found
root@hd51:~#

 

I think I should be able to run the script in this way too?

3 other files are created are not started either. :(

Beats me.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #544 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 8 February 2018 - 23:48

I'm not sure what could be wrong with these files:

root@hd51:/usr/script# ls -l
-rwxr-xr-x    1 root     root           149 Feb  6 23:46 !oscam_restart.sh
-rwxr-xr-x    1 root     root            39 Feb  8 18:48 ping_local.sh
-rwxr-xr-x    1 root     root            39 Feb  8 18:47 ping_onet.sh
-rwxr-xr-x    1 root     root            25 Feb  8 18:46 ps.sh

I created the files with Notepad++ and FTP'ed them to the box.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #545 WanWizard

  • PLi® Core member
  • 70,220 posts

+1,798
Excellent

Posted 8 February 2018 - 23:51

Looks ok?

 

But you call /usr/bin/!oscam_restart.sh, while the script is in /usr/script/!oscam_restart.sh...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: HOTKEY - problems / suggestions #546 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 9 February 2018 - 00:07

Indeed.

But unfortunately changing bin into script does not help. :(


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #547 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 February 2018 - 06:31

You need to escape question mark.

/usr/bin/\!oscam_restart.sh
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: HOTKEY - problems / suggestions #548 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 9 February 2018 - 07:45

Wierd that it tries to executie a script from usr/bin... how does your script looks like?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: HOTKEY - problems / suggestions #549 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 9 February 2018 - 08:38

I will do some more tests tonight but this is probably not a Hotkey issue because the scripts are not executed from telnet either.

One thing just came to my mind. When you FTP your scripts to your box using Total Commander, what transfer option do you choose? Binary, automatic or text? I am not sure but they may have been transferred using binary option. Would that be wrong?


Edited by Robinson, 9 February 2018 - 08:39.

ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #550 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 9 February 2018 - 08:58

Do not use total commander and FTP?... Not required at all....! This can be done smoother these days.

 

Just use the standard explorer and type \\ip.of.your.box (e.g. \\192.168.1.10)...


Edited by littlesat, 9 February 2018 - 08:58.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: HOTKEY - problems / suggestions #551 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 9 February 2018 - 10:31

Wierd that it tries to executie a script from usr/bin... how does your script looks like?

 

This is my script.  

#!/bin/sh


/usr/bin/oscam-emu --config-dir /etc/tuxbox/config/oscam-emu --daemon --pidfile /tmp/oscam-emu.pid --restart 2 --utf8 --wait 0

exit

Perhaps it is incorrect? I am not good at shell scripts.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #552 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 9 February 2018 - 10:37

Why do you need it... Long blue is sufficiant.. And it does only start oscam... you cannot stop it...

 

 

You need to remove the line with  '#!/bin/sh' from your script 

 

Or better do something like this

/etc/init.d/softcam restart

Edited by littlesat, 9 February 2018 - 10:38.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: HOTKEY - problems / suggestions #553 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 9 February 2018 - 10:52

Considering the recent issue reported by several users in the following thread, it did not alwayh help.

https://forums.openp...am-emu-startup/

Anyway, it is just an example script. I would also like to use other scripts such as "ps", "top", "ping" and other informative commands using Hotkey.

Unfortunately, all the sh scripts failed.

I will continue experimenting tonight and tomorrow.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #554 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 24 October 2018 - 12:31

Does Hotkey provide the following functions?

- switch on TELETEXT,

- switch channel list from TV services to RADIO services,

- switch channel list from RADIO services to TV services,

If not, would it be possible to add these actions?

This is because universal remotes (even the famous Harmony) does not provide the equivalent keys and basically they offer fewer keys than original STB remotes.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #555 WanWizard

  • PLi® Core member
  • 70,220 posts

+1,798
Excellent

Posted 24 October 2018 - 12:36

No, as these are button actions, not (exported) Enigma functions. I can't comment on whether it is possible or not.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: HOTKEY - problems / suggestions #556 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 24 October 2018 - 12:42

This is because universal remotes (even the famous Harmony) does not provide the equivalent keys and basically they offer fewer keys than original STB remotes.

That depends on the type of Logitech Harmony. Mine are from the 900-series, and provide many more buttons than any original RC.

Re: HOTKEY - problems / suggestions #557 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 24 October 2018 - 12:46

WanWizard, thanks. Maybe littlesat can say more about that and think about a chance to add those actions.

 

Rob van der Does, yes, I own Harmony 350. It has far fewer keys than the remote of ET9000. Of course device buttons and favourite channel buttons cannot be considered as keys that could replace any key on the original remote.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #558 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 24 October 2018 - 13:20

- switch on TELETEXT,

- switch channel list from TV services to RADIO services,

- switch channel list from RADIO services to TV services,

 

And if it indeed turns out impossible to call these actions using Hotkey, maybe it would be possible to add these somewhere in the MENU or as a context menu (by pressing MENU on any channel).

Thanks.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #559 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 24 October 2018 - 13:21

I have the same response as Rob, I use an Harmony 650 and we can use a physical button or add the function to the Harmony screen. We can also program several functions to the same touch. It's very convenient.


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: HOTKEY - problems / suggestions #560 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 24 October 2018 - 14:46

OK, I can see 650 has an LCD screen, which can be used to store some "extra" keys? Right?

How can you program several functions to the same touch? On 350 too?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W



22 user(s) are reading this topic

0 members, 22 guests, 0 anonymous users