From e713bd3d222127573350eddb3f71941fda771054 Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Mon, 13 Oct 2008 18:29:57 +0000 Subject: allow DVD burning in background. to view progress of jobs, press extensions key (blue) in TV mode --- lib/python/Plugins/Extensions/DVDBurn/Process.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'lib/python/Plugins/Extensions/DVDBurn/Process.py') diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py index 71f7c998..c89f79c9 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/Process.py +++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py @@ -1,4 +1,4 @@ -from Components.Task import Task, Job, job_manager, DiskspacePrecondition, Condition, ToolExistsPrecondition +from Components.Task import Task, Job, DiskspacePrecondition, Condition, ToolExistsPrecondition from Components.Harddisk import harddiskmanager from Screens.MessageBox import MessageBox @@ -663,7 +663,7 @@ class DVDJob(Job): DVDAuthorTask(self, diskSpaceNeeded) nr_titles = len(self.project.titles) - + if self.menupreview: PreviewTask(self) else: @@ -706,18 +706,3 @@ class DVDdataJob(Job): CopyMeta(self, title.inputfile) BurnTask(self, ["-follow-links", self.workspace]) RemoveDVDFolder(self) - -def Burn(session, project): - j = DVDJob(project) - job_manager.AddJob(j) - return j - -def PreviewMenu(session, project): - j = DVDJob(project, menupreview=True) - job_manager.AddJob(j) - return j - -def BurnDataTS(session, project): - j = DVDdataJob(project) - job_manager.AddJob(j) - return j -- cgit v1.2.3