from enigma import eLabel, eSlider, eTimer
class PerServiceBase(object):
from enigma import eLabel, eSlider, eTimer
class PerServiceBase(object):
self.eventmap = eventmap
self.navcore = navcore
self.navcore.event.append(self.event)
self.poll_timer = eTimer()
self.poll_timer.timeout.get().append(self.poll)
self.eventmap = eventmap
self.navcore = navcore
self.navcore.event.append(self.event)
self.poll_timer = eTimer()
self.poll_timer.timeout.get().append(self.poll)
# start with stopped state, so simulate that
self.event(iPlayableService.evEnd)
# start with stopped state, so simulate that
self.event(iPlayableService.evEnd)