From: Fraxinas Date: Tue, 17 Nov 2009 15:08:15 +0000 (+0100) Subject: for all non-ts files, display error message when trying to burn to dvd X-Git-Tag: 2.7.0~9^2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/65f1464c0852068d8a60e07e02da6a892d45578b for all non-ts files, display error message when trying to burn to dvd --- 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