projects
/
vuplus_dvbapp
/ 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
[vuplus_dvbapp]
/
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
928a8b8
..
bb40cc3
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