diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-17 23:29:31 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-17 23:29:31 +0100 |
| commit | c2ec827d12f170cb4bee1a42be9e454c7174207b (patch) | |
| tree | 6c3e52713c8940a946f83943a1e5be1482297b2e /lib/python/Plugins/Extensions/DVDBurn/Process.py | |
| parent | e7364f6c8cd59562884f895042980b88a962c945 (diff) | |
| download | enigma2-c2ec827d12f170cb4bee1a42be9e454c7174207b.tar.gz enigma2-c2ec827d12f170cb4bee1a42be9e454c7174207b.zip | |
show dvd burn jobs running in background in main menu and fix potential crash on aborting during CheckDiskspaceTask
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn/Process.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/Process.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py index 89ca90fd..946b44ad 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/Process.py +++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py @@ -368,6 +368,9 @@ class CheckDiskspaceTask(Task): self.global_preconditions.append(DiskspacePrecondition(diskSpaceNeeded)) self.weighting = 5 + def abort(self): + self.finish(aborted = True) + def run(self, callback): failed_preconditions = self.checkPreconditions(True) + self.checkPreconditions(False) if len(failed_preconditions): |
