X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6eeefece35e4269e02fdb7abab4f79d8e7b8f98b..d0b4903121e11d32d071d5b508045c13e2081f2e:/lib/python/Components/ServicePosition.py diff --git a/lib/python/Components/ServicePosition.py b/lib/python/Components/ServicePosition.py index d34d81fb..985f8841 100644 --- a/lib/python/Components/ServicePosition.py +++ b/lib/python/Components/ServicePosition.py @@ -1,6 +1,6 @@ from PerServiceDisplay import PerServiceDisplay, PerServiceBase from Components.GUIComponent import GUIComponent -from enigma import eTimer, iPlayableService, iSeekableServicePtr, ePositionGauge +from enigma import eTimer, iPlayableService, ePositionGauge import time class ServicePosition(PerServiceDisplay, object): @@ -12,7 +12,7 @@ class ServicePosition(PerServiceDisplay, object): def __init__(self, navcore, type): object.__init__(self) self.updateTimer = eTimer() - self.updateTimer.timeout.get().append(self.update) + self.updateTimer.callback.append(self.update) PerServiceDisplay.__init__(self, navcore, { iPlayableService.evStart: self.newService,