<key id="KEY_GREEN" mapto="showSatellites" flags="m" />
<key id="KEY_YELLOW" mapto="showProviders" flags="m" />
<key id="KEY_BLUE" mapto="showFavourites" flags="m" />
+ <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" />
+ <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" />
</map>
<map context="ChannelSelectEPGActions">
"showAllServices": self.showAllServices,
"showProviders": self.showProviders,
"showSatellites": self.showSatellites,
+ "nextBouquet": self.nextBouquet,
+ "prevBouquet": self.prevBouquet,
"1": self.keyNumberGlobal,
"2": self.keyNumberGlobal,
"3": self.keyNumberGlobal,
self.clearPath()
self.enterPath(ref)
+ def changeBouquet(self, direction):
+ if not self.pathChangedDisabled:
+ if self.isBasePathEqual(self.bouquet_root):
+ self.pathUp()
+ if direction < 0:
+ self.moveUp()
+ else:
+ self.moveDown()
+ ref = self.getCurrentSelection()
+ self.enterPath(ref)
+
+ def nextBouquet(self):
+ self.changeBouquet(+1)
+
+ def prevBouquet(self):
+ self.changeBouquet(-1)
+
def showFavourites(self):
if not self.pathChangedDisabled:
if not self.preEnterPath(self.bouquet_rootstr):