Ich brauche bitte Hilfe:
wie kann ich die Extentions pluginliste in einem Plugin starten?
Python
from Plugins.Plugin import PluginDescriptor
from Screens.InfoBarGenerics import InfoBarExtensions
def main(session, **kwargs):
InfoBarExtensions.showExtensionSelection()
print "[Testplugin] - exit"
def Plugins(**kwargs):
return [PluginDescriptor(
name="Testplugin",
description="plugin to test some capabilities",
where = PluginDescriptor.WHERE_PLUGINMENU,
fnc=main),
PluginDescriptor(
name="Testplugin",
description="plugin to test some capabilities",
where = PluginDescriptor.WHERE_EXTENSIONSMENU,
fnc=main)]
Alles anzeigen
Code
File "/usr/lib/enigma2/python/Plugins/Extensions/TestPlugin/plugin.py", line 6, in main
InfoBarExtensions.showExtensionSelection()
TypeError: unbound method showExtensionSelection() must be called with InfoBarExtensions instance as first argument (got nothing instead)
(PyObject_CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0x2f971dc8>>,('WizardActions', 'ok')) failed)
main thread is non-idle! display spinner!
Gruss Emanuel