fix cuesheets, add multiple menu pages support, add preview support, add project...
[enigma2.git] / lib / python / Plugins / Extensions / DVDBurn / plugin.py
index 66fe96d55f1c4620f068fa5931a57a578bda54a9..8e0d74333caf3d4d4c6871e8f4599d40a7068555 100644 (file)
@@ -3,9 +3,11 @@ from Plugins.Plugin import PluginDescriptor
 def main(session, service, **kwargs):
        import TitleList
        import DVDProject
-       project = DVDProject.DVDProject()
-       project.addService(service)
-       session.open(TitleList.TitleList, project)
+       #project = DVDProject.DVDProject()
+       #project.addService(service)
+       burner = session.open(TitleList.TitleList)
+       burner.selectedSource(service)
+       
 
 def Plugins(**kwargs):
-       return PluginDescriptor(name="DVD Tool", description=_("Burn To DVD..."), where = PluginDescriptor.WHERE_MOVIELIST, fnc=main)
+       return PluginDescriptor(name="DVD Tool", description=_("Burn to DVD..."), where = PluginDescriptor.WHERE_MOVIELIST, fnc=main)