X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=timer.py;h=3511694839ae635a773812e1235776c326b9fcce;hb=7d27b9f23f076a18a59ac6269c9db36345f8aa03;hp=5c664bbe097f6bd48ab67fa65e0d904d0d17ca65;hpb=a3d4ed7a6cafe80056916cfc6f27e8d4df94a90d;p=vuplus_dvbapp diff --git a/timer.py b/timer.py index 5c664bb..3511694 100644 --- a/timer.py +++ b/timer.py @@ -134,17 +134,6 @@ class Timer: for f in self.on_state_change: f(entry) - def getNextRecordingTime(self): - llen = len(self.timer_list) - idx = 0 - while idx < llen: - timer = self.timer_list[idx] - if timer.justplay: - idx += 1 - else: - return timer.begin - return -1 - def cleanup(self): self.processed_timers = [entry for entry in self.processed_timers if entry.disabled]