remove no more exist isTop argument
[enigma2.git] / lib / python / Plugins / Extensions / DVDBurn / DVDProject.py
1 class DVDProject:
2         def __init__(self):
3                 self.titles = [ ]
4                 self.target = None
5                 self.name = _("New DVD")
6
7         def addService(self, service):
8                 import DVDTitle
9                 t = DVDTitle.DVDTitle()
10                 t.source = service
11
12                 from enigma import eServiceCenter, iServiceInformation
13                 serviceHandler = eServiceCenter.getInstance()
14
15                 info = serviceHandler.info(service)
16                 descr = info and " " + info.getInfoString(service, iServiceInformation.sDescription) or ""
17                 t.name = info and info.getName(service) or "Title" + descr
18
19                 self.titles.append(t)
20                 return t