diff options
| author | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-10-21 15:31:35 +0000 |
|---|---|---|
| committer | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-10-21 15:31:35 +0000 |
| commit | 0cfa2e76e477e6e0abf46c97640a2e38a2fc308d (patch) | |
| tree | 5a7ee760b033e857d9a013031e51bd5e8323660b /lib/python/Plugins/Extensions | |
| parent | fc1c1768923a6ec3c3439a851b616095d60d81b3 (diff) | |
| download | enigma2-0cfa2e76e477e6e0abf46c97640a2e38a2fc308d.tar.gz enigma2-0cfa2e76e477e6e0abf46c97640a2e38a2fc308d.zip | |
fix possible crash on task abort and work with new getCD return value
Diffstat (limited to 'lib/python/Plugins/Extensions')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/Process.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py index c89f79c9..9ee5a3c6 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/Process.py +++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py @@ -265,7 +265,7 @@ class BurnTask(Task): self.postconditions.append(BurnTaskPostcondition()) self.setTool("/bin/growisofs") volName = self.getASCIIname(job.project.settings.name.getValue()) - self.args += [ "-dvd-compat", "-Z", harddiskmanager.getCD(), "-V", volName, "-publisher", "Dreambox", "-use-the-force-luke=dummy" ] + self.args += [ "-dvd-compat", "-Z", "/dev/" + harddiskmanager.getCD(), "-V", volName, "-publisher", "Dreambox", "-use-the-force-luke=dummy" ] self.args += extra_args def getASCIIname(self, name): @@ -336,6 +336,9 @@ class PreviewTask(Task): self.previewProject() else: self.job.project.session.openWithCallback(self.previewCB, MessageBox, _("Do you want to preview this DVD before burning?"), timeout = 60, default = False) + + def abort(self): + self.finish(aborted = True) def previewCB(self, answer): if answer == True: |
