diff options
| author | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-09-09 19:03:04 +0000 |
|---|---|---|
| committer | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-09-09 19:03:04 +0000 |
| commit | be5e9b704e6ff159091583735ff643c801354bec (patch) | |
| tree | fea04af2d1bbb53fbf122e14d6c8a08834c6a6ad /lib/python/Plugins/Extensions/DVDBurn/DVDProject.py | |
| parent | 6755057d62f079b1517ecc0b6bda2869fbaf4bc6 (diff) | |
| download | enigma2-be5e9b704e6ff159091583735ff643c801354bec.tar.gz enigma2-be5e9b704e6ff159091583735ff643c801354bec.zip | |
add auto chapter splitting, remove some debug
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn/DVDProject.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/DVDProject.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py index 9ee3bdb9..cfad6774 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py +++ b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py @@ -27,6 +27,8 @@ class DVDProject: self.settings.font_size = ConfigPixelvals() self.settings.space = ConfigPixelvals() self.settings.vmgm = ConfigText(visible_width = 40) + self.settings.autochapter = ConfigInteger(default = 0, limits = (0, 99)) + self.filekeys = ["vmgm", "menubg", "menuaudio", "font_face"] def addService(self, service): import DVDTitle @@ -100,8 +102,7 @@ class DVDProject: self.error = "unknown attribute '%s'" % (key) raise AttributeError i += 1 - checkfiles = ["vmgm", "menubg", "menuaudio", "font_face"] - for key in checkfiles: + for key in self.filekeys: val = self.settings.dict()[key].getValue() if not fileExists(val): self.error += "\n%s '%s' not found" % (key, val) |
