Jump to content


Photo

HOTKEY - problems / suggestions


  • Please log in to reply
579 replies to this topic

Re: HOTKEY - problems / suggestions #521 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 7 November 2017 - 00:15

ok i read it and what do you want now - do you want a script for that problem ?

If yes i attach it here for download.

 

it looks as following;

#!/bin/sh


echo 35 > /proc/stb/avs/0/volume

exit

it's very simple as you can see.

i named it restore_volume.sh - unzip the attached package put the restore_volume.sh on your box in the directory /usr/script

and then open telnet, connect to your box and make the command;

chmod 755 /usr/script/restore_volume.sh

then put it on a button with hotkey and test it.

 

 

regards

Biki3

Attached Files


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: HOTKEY - problems / suggestions #522 mrvica

  • Senior Member
  • 1,227 posts

+82
Good

Posted 7 November 2017 - 00:27

Thanks.

How to edit the script so that it exits after executing it without having the screen pop up?

just rename it to !file.sh

https://github.com/O...6d77c80d7f4eb1f



Re: HOTKEY - problems / suggestions #523 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 7 November 2017 - 09:13

however, the above won't work on 6.0 release, feature been implemnted just recently in develop branch

so for now it's only available in /self-built/ develop images, until rc6.1 appears... ;)


True sarcasm doesn't need green font...

Re: HOTKEY - problems / suggestions #524 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 7 November 2017 - 10:29

Which feature will not work?

The attached script or the file name with an exclamation mark?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #525 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 7 November 2017 - 10:44

!feature ;)


True sarcasm doesn't need green font...

Re: HOTKEY - problems / suggestions #526 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 7 February 2018 - 09:22

The remote of HD51 has a CONTEXT key.

Would it be possible to add it to the list of available keys? Or perhaps its code is the same as a key already present in the list? If so, which one, please?


Edited by Robinson, 7 February 2018 - 09:22.

ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #527 WanWizard

  • PLi® Core member
  • 68,598 posts

+1,739
Excellent

Posted 7 February 2018 - 12:02

Is that a different key from the key on the HD2400 remote? Because that can be mapped using hotkey without problems.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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 #528 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 7 February 2018 - 12:33

I am talking about the key directly above the LIST key.

See attached, please.

 

 

Attached Files


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #529 WanWizard

  • PLi® Core member
  • 68,598 posts

+1,739
Excellent

Posted 7 February 2018 - 12:37

Yes, we're talking about the same key.

 

Attached Files


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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 #530 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 7 February 2018 - 13:17

Just press the button on the hotkey key selection screen and it will point you...

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


Re: HOTKEY - problems / suggestions #531 nautilus7

  • Senior Member
  • 229 posts

+6
Neutral

Posted 7 February 2018 - 13:38

littlesat, you made a small mistake in the latest changes you did in the hotkey selection screen (regarding button renaming). You renamed a variable you shouldn't. I have made a PR in github with details and explanation.



Re: HOTKEY - problems / suggestions #532 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 7 February 2018 - 14:07

Thanks and Merged...


Edited by littlesat, 7 February 2018 - 14:12.

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


Re: HOTKEY - problems / suggestions #533 nautilus7

  • Senior Member
  • 229 posts

+6
Neutral

Posted 7 February 2018 - 14:15

Look here in line 348 https://github.com/O...17a1cbfed66L345

 

Look how it was before and how you changed it. There's no "self.yellow" anywhere else in the code. "yellow" is a new property/variable you just created there. You don't need that. You just need to set the yellow button text. And for that there is a yellowButton() method.

 

If you want to remove the yellowButton method from all places in the code and just use setText(), this is another thing.



Re: HOTKEY - problems / suggestions #534 nautilus7

  • Senior Member
  • 229 posts

+6
Neutral

Posted 7 February 2018 - 14:19

Thanks for merging.

 

 

Would you like me to make a patch that removes the yellowButton() method and uses setText instead. Just for making the code simpler. There's nothing wrong as it is now.


Edited by nautilus7, 7 February 2018 - 14:20.


Re: HOTKEY - problems / suggestions #535 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 7 February 2018 - 17:32

As soon I have time for that... it would also be an idea to leave it to you as I promote others can contribute

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


Re: HOTKEY - problems / suggestions #536 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 7 February 2018 - 22:27

Just press the button on the hotkey key selection screen and it will point you...

Thanks. I forgot about this useful feature.

It turns our CONTEXT key on the remote of HD51 is called Mark/Portal/Playlist in Hotkey settings.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #537 nautilus7

  • Senior Member
  • 229 posts

+6
Neutral

Posted 7 February 2018 - 23:47

As soon I have time for that... it would also be an idea to leave it to you as I promote others can contribute

Here you go. Take it or leave it.  :)

 

https://github.com/O...igma2/pull/1252



Re: HOTKEY - problems / suggestions #538 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 8 February 2018 - 00:24

Thanks merged!

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


Re: HOTKEY - problems / suggestions #539 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 8 February 2018 - 18:58

What could be wrong here? See the screenshot, please.

The file is there and it is 755.

Perhaps the structure of the file content?

#!/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

Attached Files


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #540 WanWizard

  • PLi® Core member
  • 68,598 posts

+1,739
Excellent

Posted 8 February 2018 - 19:11

The exclamation mark?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users