X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e41bc43a71848704ead6e9595924fe3542435f5d..43b204fbde9c5b36848320079eb7e9576536ddc3:/lib/python/Components/PerServiceDisplay.py diff --git a/lib/python/Components/PerServiceDisplay.py b/lib/python/Components/PerServiceDisplay.py index 01e5cc82..fe501052 100644 --- a/lib/python/Components/PerServiceDisplay.py +++ b/lib/python/Components/PerServiceDisplay.py @@ -2,7 +2,7 @@ from GUIComponent import * from VariableText import * from VariableValue import * -from enigma import pNavigation +from enigma import iPlayableService from enigma import eLabel, eSlider class PerServiceDisplay(GUIComponent, VariableText): @@ -16,7 +16,7 @@ class PerServiceDisplay(GUIComponent, VariableText): self.navcore.event.append(self.event) # start with stopped state, so simulate that - self.event(pNavigation.evStopService) + self.event(iPlayableService.evEnd) def event(self, ev): # loop up if we need to handle this event @@ -39,7 +39,7 @@ class PerServiceDisplayProgress(GUIComponent, VariableValue, PerServiceDisplay): self.navcore.event.append(self.event) # start with stopped state, so simulate that - self.event(pNavigation.evStopService) + self.event(iPlayableService.evEnd) def createWidget(self, parent):