Originally Posted by
birdman
Here's a Modifications.py with the intercepts coded such that they can handle any caller. (I think).
(attachment removed - I spotted an error...)
I can't download the current plugin to put it into it as:
EDIT: Fixed that. Had to do an update first....but the files are compiled in it and these are arch-specific(?) so I can't just replace the *.pyo file there.
I didn't spot you spotting an error.
The settings restore now works ok, but epg/green causes a crash, you probably know already..
Code:
< 46.2044> 18:39:50.1219 [InfoBarGenerics] Key: 399 (Break) KeyID='KEY_GREEN' Binding='('GREEN',)'.
< 46.2045> 18:39:50.1220 [ActionMap] Keymap 'ColorActions' -> Action = 'green'.
< 46.2183> 18:39:50.1358 Traceback (most recent call last):
< 46.2183> 18:39:50.1358 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
< 46.2186> 18:39:50.1361 File "/usr/lib/enigma2/python/Screens/UserDefinedButtons.py", line 30, in keypressHandler
< 46.2187> 18:39:50.1362 File "/usr/lib/enigma2/python/Screens/EpgSelectionBase.py", line 359, in addEditTimer
< 46.2189> 18:39:50.1364 File "/usr/lib/enigma2/python/Screens/TimerEntry.py", line 286, in addTimerFromEvent
< 46.2191> 18:39:50.1366 File "/usr/lib/enigma2/python/mytest.py", line 324, in openWithCallback
< 46.2193> 18:39:50.1368 dlg = self.open(screen, *arguments, **kwargs)
< 46.2193> 18:39:50.1369 File "/usr/lib/enigma2/python/mytest.py", line 334, in open
< 46.2195> 18:39:50.1371 dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
< 46.2196> 18:39:50.1371 File "/usr/lib/enigma2/python/mytest.py", line 271, in instantiateDialog
< 46.2198> 18:39:50.1373 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
< 46.2198> 18:39:50.1373 File "/usr/lib/enigma2/python/mytest.py", line 294, in doInstantiateDialog
< 46.2200> 18:39:50.1376 dlg = screen(self, *arguments, **kwargs)
< 46.2201> 18:39:50.1376 File "/usr/lib/enigma2/python/Screens/TimerEntry.py", line 23, in __init__
< 46.2202> 18:39:50.1377 File "/usr/lib/enigma2/python/Screens/TimerEntryBase.py", line 20, in __init__
< 46.2203> 18:39:50.1378 File "/usr/lib/enigma2/python/Screens/Setup.py", line 44, in __init__
< 46.2205> 18:39:50.1380 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/vps/Modifications.py", line 191, in new_TimerEntry_createSetup
< 46.2214> 18:39:50.1389 self._createSetup_old_rn_vps(*args, **kwargs)
< 46.2215> 18:39:50.1390 NameError: global name 'args' is not defined
< 46.2215> 18:39:50.1391 [ePyObject] (CallObject(<bound method HelpableActionMap.action of <Components.ActionMap.HelpableActionMap instance at 0xb0e799e0>>,('ColorActions', 'green')) failed)