diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-10 16:20:55 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-10 16:20:55 +0000 |
| commit | 2f71009743e6a1a516b82ac06c4a89ee4d6ea703 (patch) | |
| tree | bee3379e220a8c1f80bce8aba6d0a660f53cf5ca /lib/python/Components/Converter | |
| parent | 2cc6286f24b7cde25c468b2b4a817e5fa7a9cceb (diff) | |
| download | enigma2-2f71009743e6a1a516b82ac06c4a89ee4d6ea703.tar.gz enigma2-2f71009743e6a1a516b82ac06c4a89ee4d6ea703.zip | |
handle additional arguments
Diffstat (limited to 'lib/python/Components/Converter')
| -rw-r--r-- | lib/python/Components/Converter/ServiceInfo.py | 5 | ||||
| -rw-r--r-- | lib/python/Components/Converter/ServiceName.py | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/python/Components/Converter/ServiceInfo.py b/lib/python/Components/Converter/ServiceInfo.py index 413aa191..4b266fed 100644 --- a/lib/python/Components/Converter/ServiceInfo.py +++ b/lib/python/Components/Converter/ServiceInfo.py @@ -61,3 +61,8 @@ class ServiceInfo(Converter, object): return subservices and subservices.getNumberOfSubservices() > 0 boolean = property(getBoolean) + + def changed(self, *args): + if not len(args) or args[0] in [iPlayableService.evStart, iPlayableService.evEnd, + iPlayableService.evUpdatedInfo, iPlayableService.evUpdatedEventInfo]: + Converter.changed(self) diff --git a/lib/python/Components/Converter/ServiceName.py b/lib/python/Components/Converter/ServiceName.py index 094dbdfa..77647dd0 100644 --- a/lib/python/Components/Converter/ServiceName.py +++ b/lib/python/Components/Converter/ServiceName.py @@ -1,5 +1,5 @@ from Components.Converter.Converter import Converter -from enigma import iServiceInformation +from enigma import iServiceInformation, iPlayableService class ServiceName(Converter, object): NAME = 0 @@ -30,3 +30,7 @@ class ServiceName(Converter, object): return self.getServiceInfoValue(info, iServiceInformation.sProvider) text = property(getText) + + def changed(self, *args): + if not len(args) or args[0] in [iPlayableService.evStart, iPlayableService.evEnd]: + Converter.changed(self) |
