Merge remote branch 'remotes/origin/bug_135_dvdburn_ts_only' into experimental
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 23 Dec 2009 12:02:06 +0000 (13:02 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 23 Dec 2009 12:02:06 +0000 (13:02 +0100)
lib/python/Plugins/Extensions/DVDBurn/TitleList.py

index d22cbe9..dbc988b 100755 (executable)
@@ -200,6 +200,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