aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-06-11 00:07:28 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-06-11 00:07:28 +0000
commit53f199c5a82bcd460d3153814f2e057c747e2a3a (patch)
tree330362e303e4af776ee3129d718b517ac2a2e6aa /lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
parentf6d690f4f6d13acdaf4bae627c8cff6a1d93a198 (diff)
downloadenigma2-53f199c5a82bcd460d3153814f2e057c747e2a3a.tar.gz
enigma2-53f199c5a82bcd460d3153814f2e057c747e2a3a.zip
add early version of DVDBurn plugin. Basic functionality is working, but it needs a major GUI redesign. Required tools: mplex, projectx, growisofs, mkisofs/genisoimage, dvdauthor
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn/DVDProject.py')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/DVDProject.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
new file mode 100644
index 00000000..e7876e41
--- /dev/null
+++ b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
@@ -0,0 +1,20 @@
+class DVDProject:
+ def __init__(self):
+ self.titles = [ ]
+ self.target = None
+ self.name = _("New DVD")
+
+ def addService(self, service):
+ import DVDTitle
+ t = DVDTitle.DVDTitle()
+ t.source = service
+
+ from enigma import eServiceCenter, iServiceInformation
+ serviceHandler = eServiceCenter.getInstance()
+
+ info = serviceHandler.info(service)
+ descr = info and " " + info.getInfoString(service, iServiceInformation.sDescription) or ""
+ t.name = info and info.getName(service) or "Title" + descr
+
+ self.titles.append(t)
+ return t