diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-11-17 16:08:15 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-11-17 16:08:15 +0100 |
| commit | 65f1464c0852068d8a60e07e02da6a892d45578b (patch) | |
| tree | 667988d964286bf91db9e64804949d8e53417c39 /lib/python | |
| parent | 1065f334c0d8ff190e123944108c64c992edb46b (diff) | |
| download | enigma2-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')
| -rwxr-xr-x | lib/python/Plugins/Extensions/DVDBurn/TitleList.py | 3 |
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 |
