X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ed40f6f85c9c07c3c1224ae20601082c0309a631..31addde4d83dfbbaf273bc48a1f0783dc476a30f:/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py?ds=inline diff --git a/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py b/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py index 5142d16b..05085ead 100644 --- a/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py +++ b/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py @@ -2,6 +2,7 @@ from Tools.BoundFunction import boundFunction from Tools.Directories import pathExists from Plugins.Plugin import PluginDescriptor +from pluginrunner import PluginRunner from os import listdir @@ -36,6 +37,7 @@ def getPluginParams(file): def main(session, plugin, **kwargs): print "Running plugin " + plugin[:-4] + ".so with config file", plugin print getPluginParams(plugin) + session.open(PluginRunner, plugin[:-4].split(".so")[0]) def Plugins(**kwargs): return getPlugins()