plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / python / Plugins / Extensions / TuxboxPlugins / plugin.py
index 7ab02da..8d4e158 100644 (file)
@@ -38,9 +38,9 @@ def getPluginParams(file):
 
        return params
 
-def main(session, plugin):
+def main(session, plugin, **kwargs):
        print "Running plugin " + plugin[:-4] + ".so with config file", plugin
        print getPluginParams(plugin)
        
-def Plugins():
-       return getPlugins()
\ No newline at end of file
+def Plugins(**kwargs):
+       return getPlugins()