def bouquetInputCallback(self, bouquet):
if bouquet is not None:
- self.csel.addBouquet(bouquet, True)
+ self.csel.addBouquet(bouquet, None, True)
def addServiceToBouquetSelected(self):
bouquets = self.csel.getBouquetList()
Screen.__init__(self, session)
# this makes it much simple to implement a selectable radio or tv mode :)
- self.service_types_tv = '1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195)'
+ self.service_types_tv = '1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25)'
self.service_types_radio = '1:7:2:0:0:0:0:0:0:0:(type == 2)'
self["key_red"] = Button(_("All"))
self.session.nav.playService(nref)
self.saveRoot()
self.saveChannel()
+ self.addToHistory(nref)
+
+ def addToHistory(self, ref):
if self.servicePath is not None:
tmp=self.servicePath[:]
- tmp.append(nref)
+ tmp.append(ref)
try:
del self.history[self.history_pos+1:]
except: