Jump to content


Photo

HOTKEY - problems / suggestions


  • Please log in to reply
579 replies to this topic

Re: HOTKEY - problems / suggestions #101 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 1 October 2014 - 16:55

Hi everyone...

 

I just committed some reported issues..... Thanks everyone :D!!!!

 

http://sourceforge.n...7eb2/log/?path=

 

 


Can add a global on/off HotKey?

 

I'm still thinking on how the best I can made it...

 

In addition I'm thinking about an function Zap to Service.... but then via the simple channel selector.... Also work in progress 


Edited by littlesat, 1 October 2014 - 16:55.

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


Re: HOTKEY - problems / suggestions #102 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 1 October 2014 - 21:06

Thank you for all commits, in which you forgot to say thanks  ;).



Re: HOTKEY - problems / suggestions #103 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 2 October 2014 - 04:48

My appologies that I did not thank you!!! Really sorry!!!

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


Re: HOTKEY - problems / suggestions #104 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 2 October 2014 - 08:14

'SkinSelector' "disappeared" today :)


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: HOTKEY - problems / suggestions #105 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 2 October 2014 - 10:45

Mmmmmm i remember yesterday I saw it.....

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


Re: HOTKEY - problems / suggestions #106 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 2 October 2014 - 12:14

Today in forum gisclub.tv I saw this crashlog:

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 322, in action
    res = self.actions[action](action)
  File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 338, in hotkeyGlobal
    function = list(function for function in getHotkeyFunctions() if function[1] == x )
  File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 129, in getHotkeyFunctions
    hotkeyFunctions.append((plugin[0], "MenuPlugin/system/" + plugin[2]))
TypeError: cannot concatenate 'str' and 'NoneType' objects

I do not know who this user is installed, as to myself, I have not seen such error, but maybe for system plugins needs to add an additional check:

for plugin in plugins.getPluginsForMenu("system"):
    if plugin[2]:
        hotkeyFunctions.append((plugin[0], "MenuPlugin/system/" + plugin[2]))

And maybe this check also needs for MenuPlugin/scan?



Re: HOTKEY - problems / suggestions #107 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 2 October 2014 - 13:22

Mmm a plugin not returning a required tag name....
I'm afraid this hotkey feature may require more patches before it is really completed...

Edited by littlesat, 2 October 2014 - 13:30.

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


Re: HOTKEY - problems / suggestions #108 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 2 October 2014 - 14:50

Maybe, I 'ask the user to add additional log in Hotkey, to see which plugin is the reason, and what he really returns, but I do not know if I get the answer from him.



Re: HOTKEY - problems / suggestions #109 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 3 October 2014 - 12:42

Only for information.
I got a log of the system plugins crash from the user, for which I wrote.
The reason is the plugin ClearMem, as it was expected he returns:

('Setup ClearMem' <main function at 0x1e8e870>, None, None)


Re: HOTKEY - problems / suggestions #110 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 3 October 2014 - 12:45

Indeed as plugin tag none... This is not good coding for this plugin...

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


Re: HOTKEY - problems / suggestions #111 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 3 October 2014 - 12:50

Yes you are right, I looked in the plugin:

return [(_("Setup ClearMem"), main, "ClearMem", None)]

But we can not change it, we must expect that these plugins are used.



Re: HOTKEY - problems / suggestions #112 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 3 October 2014 - 16:48

I pushed your work-a-round to avoid the gsod... But without change the plugin can never occur in the hotkey settings.... We cannot change that... Unless someone changes the ipk (and we post it on the 3rd party feeds)

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


Re: HOTKEY - problems / suggestions #113 ims

  • PLi® Core member
  • 13,764 posts

+214
Excellent

Posted 3 October 2014 - 17:19

@Taapat - this plugin is not in our feed, or yes ?

 

I think, it is very early version of plugin, which is in feed as CacheFlush plugin now. If yes, then is very easy made changes in CacheFlush. Then tell, what you need. But I think, this both plugins are for nothing ;)


Kdo nic nedělá, nic nezkazí!

Re: HOTKEY - problems / suggestions #114 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 3 October 2014 - 17:33

I do not know or this plugin is in your feed. I do not have mipsel receiver, but this is chrash from Duo2 from another user.

Even if in the feed is in just the right plugins, I think that you can add some workoraund, to prevent other plugins maker errors.

I do not think that the hotkey should be  reason to correct some wrong plugins, which before was worked.



Re: HOTKEY - problems / suggestions #115 Dimitrij

  • PLi® Core member
  • 10,263 posts

+347
Excellent

Posted 4 October 2014 - 08:25

Can add commands to Linux?

df -h

mount

ifconfig

ps

cat /proc/swaps

cat /proc/cpuinfo

cat /proc/version

and etc


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: HOTKEY - problems / suggestions #116 ims

  • PLi® Core member
  • 13,764 posts

+214
Excellent

Posted 4 October 2014 - 08:53

It can be called via PPanels...


Kdo nic nedělá, nic nezkazí!

Re: HOTKEY - problems / suggestions #117 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 4 October 2014 - 09:19

Could consider to execute a specific ppanel from hotkey?

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


Re: HOTKEY - problems / suggestions #118 ims

  • PLi® Core member
  • 13,764 posts

+214
Excellent

Posted 4 October 2014 - 09:26

I thought, that this commands can add user into PPanel and run it from PPanel's menu.


Kdo nic nedělá, nic nezkazí!

Re: HOTKEY - problems / suggestions #119 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 4 October 2014 - 10:13

I know this thread is not about PPanels so can somebody please point me to a Ppanels tutorial or something?

When I press BLUE - PPanels, I only get CCam Ppanel.

If Ppanels is much more than this, then I'm very interested on how to add and execute commands from there.

Thanks.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HOTKEY - problems / suggestions #120 ims

  • PLi® Core member
  • 13,764 posts

+214
Excellent

Posted 4 October 2014 - 10:29

Here is example with dima's wanted commands... unpack it, copy it into /etc/ppanels

 

I think, you will see, what is possible, when you will analyse code...

 

<directory name="Utility...">   = name in PPanels

 

name ... title in menu in ppanel

target ... commands

helptext ... help text in separate label

confirmation ... must be confirmed

 

in taget=" ..." you can run more commands separate with semicolon [;]  f.eg: target="sync; echo 3 > /proc/sys/vm/drop_caches"

 

sorting in list of PPanels controll alphabeticaly names of .xml

Attached Files

  • Attached File  test.rar   418bytes   10 downloads

Edited by ims, 4 October 2014 - 12:08.

Kdo nic nedělá, nic nezkazí!


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users