diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-07-30 12:07:43 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-07-30 12:07:43 +0200 |
| commit | 7a33f3edf33fcd2291957c05d883d80af3f058ce (patch) | |
| tree | ab983ab5747c3928587a593366528873932aa3de /lib/python/Plugins/Extensions/DVDBurn/DVDProject.py | |
| parent | a6e5bb5ef14da6f61cf974d0f9d35a2a1bbbc51f (diff) | |
| parent | ed817937df0a68c0b222a4e48fdf24984d87c2fb (diff) | |
| download | enigma2-7a33f3edf33fcd2291957c05d883d80af3f058ce.tar.gz enigma2-7a33f3edf33fcd2291957c05d883d80af3f058ce.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn/DVDProject.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/DVDProject.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py index 96fc380a..83672460 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py +++ b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py @@ -18,6 +18,8 @@ class ConfigFilename(ConfigText): return ("mtext"[1-selected:], filename, mark) class DVDProject: + MAX_SL = 4480 + MAX_DL = 8150 def __init__(self): self.titles = [ ] self.target = None @@ -140,6 +142,14 @@ class DVDProject: return False return True + def getSize(self): + totalsize = 0 + for title in self.titles: + totalsize += title.estimatedDiskspace + return totalsize + + size = property(getSize) + class MenuTemplate(DVDProject): def __init__(self): self.settings = ConfigSubsection() |
