git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add \n to separate devices
[enigma2.git]
/
lib
/
python
/
Components
/
PerServiceDisplay.py
diff --git
a/lib/python/Components/PerServiceDisplay.py
b/lib/python/Components/PerServiceDisplay.py
index 01e5cc8224e13c51e9eb4bcc508b525a200c4345..fe5010528bdd0de3f862e81b06432bf0f29e58b9 100644
(file)
--- 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 VariableText import *
from VariableValue import *
-from enigma import
pNavigation
+from enigma import
iPlayableService
from enigma import eLabel, eSlider
class PerServiceDisplay(GUIComponent, VariableText):
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.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
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.navcore.event.append(self.event)
# start with stopped state, so simulate that
- self.event(
pNavigation.evStopService
)
+ self.event(
iPlayableService.evEnd
)
def createWidget(self, parent):
def createWidget(self, parent):