fix multiple menu jobs, allow title adding without cutlist editor
[enigma2.git] / lib / python / Plugins / Extensions / DVDBurn / plugin.py
1 from Plugins.Plugin import PluginDescriptor
2
3 def main(session, service, **kwargs):
4         import TitleList
5         import DVDProject
6         #project = DVDProject.DVDProject()
7         #project.addService(service)
8         burner = session.open(TitleList.TitleList)
9         burner.selectedSource(service)
10         
11
12 def Plugins(**kwargs):
13         return PluginDescriptor(name="DVD Tool", description=_("Burn to DVD..."), where = PluginDescriptor.WHERE_MOVIELIST, fnc=main)