aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-09-23 17:23:18 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-09-23 17:23:18 +0200
commita63b53ca054ce08e33b26c77fda9f0fef5af279b (patch)
tree7b4fd410821cf840d58331fd99dc68ae50865c1d /lib
parent913cbe91fcba552dc14d6123572398415b40eb40 (diff)
downloadenigma2-a63b53ca054ce08e33b26c77fda9f0fef5af279b.tar.gz
enigma2-a63b53ca054ce08e33b26c77fda9f0fef5af279b.zip
take care of servicegroups in doublecheck
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Components/TimerSanityCheck.py6
1 files changed, 6 insertions, 0 deletions
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):