newlines at the end of files especially for sat-man ^^
[vuplus_dvbapp] / lib / python / Plugins / Extensions / DVDBurn / plugin.py
index 66fe96d..8e0d743 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)