Can someone tell me what I'm missing here please ? I think its something to do with the append, but I'm stuck as to what I've done wrong.
The single EPG part works perfectly with this modified code to allow EPG to show when Streams in my Bouquets are flagged as 5002 instead of 1 but the Multi EPG doesn't populate. The code is from my modified EpgList.py
def fillSingleEPG(self, service): t = time() epg_time = t - config.epg.histminutes.value * 60 ext3=service.ref.toString() if ext3.startswith("5002:"): service2=ext3.replace("5002:","1:",1) else: service2=ext3 test = [ 'RIBDT', (service2, 0, -1, -1) ] self.list = self.queryEPG(test) self.l.setList(self.list) if t != epg_time: idx = 0 for x in self.list: idx += 1 if t < x[2] + x[3]: break self.instance.moveSelectionTo(idx - 1) self.selectionChanged() def fillMultiEPG(self, services, stime = None): test = [ ] for service in services: ext3=service.ref.toString() if ext3.startswith("5002:"): service2=ext3.replace("5002:","1:",1) else: service2=ext3 test.append((service2, 0, stime)) test.insert(0, 'X0RIBDTCn') self.list = self.queryEPG(test) self.l.setList(self.list) self.selectionChanged()