aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/DVDBurn
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-11-17 16:08:15 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-11-17 16:08:15 +0100
commit65f1464c0852068d8a60e07e02da6a892d45578b (patch)
tree667988d964286bf91db9e64804949d8e53417c39 /lib/python/Plugins/Extensions/DVDBurn
parent1065f334c0d8ff190e123944108c64c992edb46b (diff)
downloadenigma2-65f1464c0852068d8a60e07e02da6a892d45578b.tar.gz
enigma2-65f1464c0852068d8a60e07e02da6a892d45578b.zip
for all non-ts files, display error message when trying to burn to dvd
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn')
-rwxr-xr-xlib/python/Plugins/Extensions/DVDBurn/TitleList.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
index 928a8b82..bb40cc30 100755
--- a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
@@ -188,6 +188,9 @@ class TitleList(Screen, HelpableScreen):
def selectedSource(self, source):
if source is None:
return None
+ if not source.getPath().endswith(".ts"):
+ self.session.open(MessageBox,text = _("You can only burn Dreambox recordings!"), type = MessageBox.TYPE_ERROR)
+ return None
t = self.project.addService(source)
try:
editor = source.edit