cleanup the timerlist by pressing blue in the timer list
[vuplus_dvbapp] / timer.py
index 9fa0ab2..5500c34 100644 (file)
--- a/timer.py
+++ b/timer.py
@@ -110,6 +110,9 @@ class Timer:
        def stateChanged(self, entry):
                for f in self.on_state_change:
                        f(entry)
+                       
+       def cleanup(self):
+               self.processed_timers = []
        
        def addTimerEntry(self, entry, noRecalc=0):
                entry.processRepeated()