git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix linked tuners option in tuner config,
[enigma2.git]
/
lib
/
python
/
Components
/
Sources
/
CurrentService.py
diff --git
a/lib/python/Components/Sources/CurrentService.py
b/lib/python/Components/Sources/CurrentService.py
index 100822bc0cde8255bb88515571d5cb6656d4d699..f49f0323a9ef17dbd621009a7cbab0a9288609f8 100644
(file)
--- a/
lib/python/Components/Sources/CurrentService.py
+++ b/
lib/python/Components/Sources/CurrentService.py
@@
-1,6
+1,9
@@
from Components.PerServiceDisplay import PerServiceBase
from enigma import iPlayableService
from Source import Source
from Components.PerServiceDisplay import PerServiceBase
from enigma import iPlayableService
from Source import Source
+from Components.Element import cached
+
+from time import time
class CurrentService(PerServiceBase, Source):
def __init__(self, navcore):
class CurrentService(PerServiceBase, Source):
def __init__(self, navcore):
@@
-18,8
+21,9
@@
class CurrentService(PerServiceBase, Source):
self.navcore = navcore
def serviceEvent(self, event):
self.navcore = navcore
def serviceEvent(self, event):
- self.changed(
event
)
+ self.changed(
(self.CHANGED_SPECIFIC, event)
)
+ @cached
def getCurrentService(self):
return self.navcore.getCurrentService()
def getCurrentService(self):
return self.navcore.getCurrentService()