diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-03-05 21:43:54 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-03-05 21:43:54 +0000 |
| commit | aa4989974a32ab2437d51fb6352b3eb54cecd83d (patch) | |
| tree | 02985c92f7eefd795dd96cfde0ee4f5262a18a50 /lib/python/Plugins/Extensions/ZappingAlternatives | |
| parent | 313449731e21f1360ce920e7daf24ddd512706fc (diff) | |
| download | enigma2-aa4989974a32ab2437d51fb6352b3eb54cecd83d.tar.gz enigma2-aa4989974a32ab2437d51fb6352b3eb54cecd83d.zip | |
plugin api change: Plugins() and main functions must receive (and possibly ignore) keyword arguments
Diffstat (limited to 'lib/python/Plugins/Extensions/ZappingAlternatives')
| -rw-r--r-- | lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py b/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py index dace8dd5..118f0cb6 100644 --- a/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py +++ b/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py @@ -294,9 +294,9 @@ def autostart(reason): NavigationInstance.instance.playService = type(NavigationInstance.instance.playService)(playService, NavigationInstance, Navigation) -def AlternativeZappingSetup(session): +def AlternativeZappingSetup(session, **kwargs): session.open(AlternativeZapping) -def Plugins(): +def Plugins(**kwargs): return [PluginDescriptor(where = PluginDescriptor.WHERE_AUTOSTART, fnc = autostart), PluginDescriptor(name="Alternative services setup" , description="Defines alternatives for services.", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=AlternativeZappingSetup)] |
