def fillMultiEPG(self, services, stime=-1):
t = time()
- test = [ '0RIBDTCn', (service.ref.toString(), 0, stime) for service in services ]
+ test = [ (service.ref.toString(), 0, stime) for service in services ]
+ test.insert(0, '0RIBDTCn')
self.list = self.queryEPG(test)
self.l.setList(self.list)
print time() - t
def updateMultiEPG(self, direction):
t = time()
- test = [ 'RIBDTCn', x[3] and (x[1], x[4], x[3]) or (x[1], x[4], 0) for x in self.list ]
+ test = [ x[3] and (x[1], direction, x[3]) or (x[1], direction, 0) for x in self.list ]
+ test.insert(0, 'RIBDTCn')
tmp = self.queryEPG(test)
cnt=0
for x in tmp: