git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change disc size determination and tweak dual layer growisofs arguments
[enigma2.git]
/
lib
/
python
/
Plugins
/
Extensions
/
DVDBurn
/
DVDProject.py
diff --git
a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
index 96fc380a4162fa0bf1f3c5e624f1e5f054d12a30..9a3bd64c6895707cb384c42bb60aa3bfa4a2a54e 100644
(file)
--- 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:
return ("mtext"[1-selected:], filename, mark)
class DVDProject:
+ MAX_SL = 4370
+ MAX_DL = 7950
def __init__(self):
self.titles = [ ]
self.target = None
def __init__(self):
self.titles = [ ]
self.target = None
@@
-140,6
+142,14
@@
class DVDProject:
return False
return True
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()
class MenuTemplate(DVDProject):
def __init__(self):
self.settings = ConfigSubsection()