1 from Plugins.Plugin import PluginDescriptor
3 def main(session, **kwargs):
6 #project = DVDProject.DVDProject()
7 #project.addService(service)
8 return session.open(TitleList.TitleList)
10 def main_add(session, service, **kwargs):
11 dvdburn = main(session, **kwargs)
12 dvdburn.selectedSource(service)
14 def Plugins(**kwargs):
15 return [PluginDescriptor(name="DVD Burn", description=_("Burn to DVD..."), where = PluginDescriptor.WHERE_MOVIELIST, fnc=main_add, icon="dvdburn.png"),
16 PluginDescriptor(name="DVD Burn", description=_("Burn to DVD..."), where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main, icon="dvdburn.png") ]