class InfoBarNumberZap:
""" Handles an initial number for NumberZapping """
def __init__(self):
- self["NumberZapActions"] = NumberActionMap( [ "NumberZapActions"],
+ self["NumberActions"] = NumberActionMap( [ "NumberActions"],
{
"1": self.keyNumberGlobal,
"2": self.keyNumberGlobal,
self.session.open(EventView, self.epglist[0], ServiceReference(ref), self.eventViewCallback)
except:
pass
-
+
def openSingleServiceEPG(self):
ref=self.session.nav.getCurrentlyPlayingServiceReference()
ptr=eEPGCache.getInstance()
else: # try to show now/next
print 'no epg for service', ref.toString()
-
def openBouquetEPG(self, bouquet):
ptr=eEPGCache.getInstance()
services = [ ]
def __init__(self):
self.__event_tracker = ServiceEventTracker(screen=self, eventmap=
{
- pNavigation.evSeekableStatusChanged: self.__seekableStatusChanged
+ pNavigation.evSeekableStatusChanged: self.__seekableStatusChanged,
+ pNavigation.evNewService: self.__serviceStarted
})
self["SeekActions"] = HelpableActionMap(self, "InfobarSeekActions",
{
self["SeekActions"].setEnabled(True)
print "seekable"
+ def __serviceStarted(self):
+ self.seekstate = self.SEEK_STATE_PLAY
+
def setSeekState(self, state):
service = self.session.nav.getCurrentService()
self.seekTimer.stop()