plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / python / Plugins / Extensions / CutListEditor / plugin.py
index 25a5e7422a505dc3d7fb8363529a1955411d5cf9..16616cd201a9fddf5209d45b352b89e682837106 100644 (file)
@@ -338,8 +338,8 @@ Then seek to the end, press OK, select 'end cut'. That's it.
                        self.cut_list.remove(self.context_nearest_mark)
                        self.uploadCuesheet()
 
                        self.cut_list.remove(self.context_nearest_mark)
                        self.uploadCuesheet()
 
-def main(session, service):
+def main(session, service, **kwargs):
        session.open(CutListEditor, service)
 
        session.open(CutListEditor, service)
 
-def Plugins():
+def Plugins(**kwargs):
        return PluginDescriptor(name="Cutlist Editor", description=_("Cutlist editor..."), where = PluginDescriptor.WHERE_MOVIELIST, fnc=main)
        return PluginDescriptor(name="Cutlist Editor", description=_("Cutlist editor..."), where = PluginDescriptor.WHERE_MOVIELIST, fnc=main)