From: ghost Date: Wed, 23 Sep 2009 15:23:18 +0000 (+0200) Subject: take care of servicegroups in doublecheck X-Git-Tag: 2.6.0~54 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/a63b53ca054ce08e33b26c77fda9f0fef5af279b?hp=913cbe91fcba552dc14d6123572398415b40eb40 take care of servicegroups in doublecheck --- diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py index c0ca10fa..8f48d1ec 100644 --- a/lib/python/Components/TimerSanityCheck.py +++ b/lib/python/Components/TimerSanityCheck.py @@ -36,6 +36,12 @@ class TimerSanityCheck: return True else: if timer.begin == self.newtimer.begin: + fl1 = timer.service_ref.ref.flags & eServiceReference.isGroup + fl2 = self.newtimer.service_ref.ref.flags & eServiceReference.isGroup + if fl1 != fl2: + return False + if fl1: #is group + return timer.service_ref.ref.getPath() == self.newtimer.service_ref.ref.getPath() getUnsignedDataRef1 = timer.service_ref.ref.getUnsignedData getUnsignedDataRef2 = self.newtimer.service_ref.ref.getUnsignedData for x in (1, 2, 3, 4):