From: Felix Domke Date: Mon, 10 Jul 2006 16:20:55 +0000 (+0000) Subject: handle additional arguments X-Git-Tag: 2.6.0~3203 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/2f71009743e6a1a516b82ac06c4a89ee4d6ea703 handle additional arguments --- 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)