git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for all non-ts files, display error message when trying to burn to dvd
[enigma2.git]
/
lib
/
python
/
Plugins
/
Extensions
/
DVDBurn
/
TitleList.py
diff --git
a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
index 928a8b821423a912e227d94285ffcb7ebf840e61..bb40cc30b607fe17a1d89e86ccfc3fffd1a9ac80 100755
(executable)
--- 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
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
t = self.project.addService(source)
try:
editor = source.edit