aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/DVDBurn/Process.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-06-23 20:03:33 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-06-23 20:03:33 +0200
commit77bc87782b4c84b835649f6125b89de33d12c46e (patch)
tree7a837a1031ce87f480da587798719c0e510bfb7a /lib/python/Plugins/Extensions/DVDBurn/Process.py
parent5960b0d3e89264496a44e21f84da1e057905df53 (diff)
downloadenigma2-77bc87782b4c84b835649f6125b89de33d12c46e.tar.gz
enigma2-77bc87782b4c84b835649f6125b89de33d12c46e.zip
when in standby, don't ask for preview, just burn baby, burn
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn/Process.py')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/Process.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py
index 9a37c14e..74ffbde7 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/Process.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py
@@ -395,8 +395,12 @@ class PreviewTask(Task):
if self.job.menupreview:
self.previewProject()
else:
- from Tools import Notifications
- Notifications.AddNotificationWithCallback(self.previewCB, MessageBox, _("Do you want to preview this DVD before burning?"), timeout = 60, default = False)
+ import Screens.Standby
+ if Screens.Standby.inStandby:
+ self.previewCB(False)
+ else:
+ from Tools import Notifications
+ Notifications.AddNotificationWithCallback(self.previewCB, MessageBox, _("Do you want to preview this DVD before burning?"), timeout = 60, default = False)
def abort(self):
self.finish(aborted = True)