HOTKEY - problems / suggestions
#1
Posted 21 September 2014 - 11:31
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221
Re: HOTKEY - problems / suggestions #2
Re: HOTKEY - problems / suggestions #3
Re: HOTKEY - problems / suggestions #4
Posted 21 September 2014 - 12:03
Edited by littlesat, 21 September 2014 - 12:17.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: HOTKEY - problems / suggestions #5
Re: HOTKEY - problems / suggestions #6
Re: HOTKEY - problems / suggestions #7
Re: HOTKEY - problems / suggestions #8
Posted 21 September 2014 - 12:52
The subtitle audio and text button etc... I already fixed with a new keymap.xml...
Edited by littlesat, 21 September 2014 - 12:55.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: HOTKEY - problems / suggestions #9
Posted 21 September 2014 - 13:00
For the gui restart, standby I'll try to add this tomorrow...
The subtitle audio and text button etc... I already fixed with a new keymap.xml...
I used till now this:
<name>GUI Restart</name> <sel>1</sel> <code><![CDATA[import Screens.Standby self.session.openWithCallback(self.session.open(Screens.Standby.TryQuitMainloop,3),MessageBox,_(" Restarting GUI ..."), MessageBox.TYPE_INFO, timeout=3)]]></code> </content> <content> <name>Reboot</name> <sel>1</sel> <code><![CDATA[import Screens.Standby self.session.openWithCallback(self.session.open(Screens.Standby.TryQuitMainloop,2),MessageBox,_(" Rebooting ..."), MessageBox.TYPE_INFO, timeout=3)]]></code> </content> <content> <name>DeepStandby</name> <sel>1</sel> <code><![CDATA[import Screens.Standby self.session.openWithCallback(self.session.open(Screens.Standby.TryQuitMainloop,1),MessageBox,_(" ShutDown ..."), MessageBox.TYPE_INFO, timeout=3)]]></code> </content>
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221
Re: HOTKEY - problems / suggestions #10
Re: HOTKEY - problems / suggestions #11
Posted 21 September 2014 - 14:06
The new Hotkey Crashes my VU Solo when trying to set it up when the ok button is selected.
Screen <class 'Screens.Hotkey.HotkeySetupSelect'>(([('Up', 'cross_up'), (0, 45, 0, 800, 25, 0, 1, 'Up')],), {}): <type 'exceptions.TypeError'>
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 226, in create
return screen(self, *arguments, **kwargs)
File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 168, in __init__
File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 76, in getHotkeyFunctionsList
TypeError: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 149, in ok
File "/usr/lib/enigma2/python/mytest.py", line 305, in open
dlg.isTmp = True
AttributeError: 'NoneType' object has no attribute 'isTmp'
(PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x32d3b20>>,('OkCancelActions', 'ok')) failed)
Ian.
Edited by ian1095, 21 September 2014 - 14:06.
Re: HOTKEY - problems / suggestions #13
Re: HOTKEY - problems / suggestions #14
Posted 21 September 2014 - 18:17
del Menusort/Pluginsort/PluginHider
Plugin hider not fullfill rules? Or returns None for a hidden plugin???
With Hotkey you can create in fact your own plugin lists...
@
That is indeed a better way to do this.... but I have already a slightly different way to made this in my thoughts....
Not tested yet (this idea....)
hotkeyFunctions.append((_("Sleeptimer edit"), "Module/Screens.SleepTimerEdit/SleepTimerEdit")) hotkeyFunctions.append((_("Standby"), "Module/Screens.Standby/Standby")) hotkeyFunctions.append((_("Restart"), "Module/Screens.Standby/TryQuitMainloop,2")) hotkeyFunctions.append((_("Restart enigma"), "Module/Screens.Standby/TryQuitMainloop,3")) hotkeyFunctions.append((_("Deep standby"), "Module/Screens.Standby/TryQuitMainloop,1"))
Edited by littlesat, 21 September 2014 - 18:23.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: HOTKEY - problems / suggestions #15
Posted 21 September 2014 - 18:28
I didnt have plugin hider installed it was the plugin move that was causing the issue.
This plugin is very usefull and as yet im unable to figure out why it caused such issues.
Im impressed though that Dima73 knew straight away what the problem was though,as the crashlog didnt point towards this plugin at all.
Im very interested to learn how to rearrange my plugins using the new Hotkey feature though ?
Ian.
Edited by ian1095, 21 September 2014 - 18:31.
Re: HOTKEY - problems / suggestions #16
Re: HOTKEY - problems / suggestions #17
Re: HOTKEY - problems / suggestions #18
Re: HOTKEY - problems / suggestions #20
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users