git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display actual song names for Audio CDs with CD-Text feature (requires libcdio)
[enigma2.git]
/
timer.py
diff --git
a/timer.py
b/timer.py
index 6f3a05fbfe97290c92a491089169a0ad07dfa665..be629099f62e7f91464f92178e16553dcd7b5003 100644
(file)
--- a/
timer.py
+++ b/
timer.py
@@
-21,7
+21,13
@@
class TimerEntry:
self.backoff = 0
self.disabled = False
self.backoff = 0
self.disabled = False
-
+
+ def resetState(self):
+ self.state = self.StateWaiting
+ self.cancelled = False
+ self.first_try_prepare = True
+ self.timeChanged()
+
def resetRepeated(self):
self.repeated = int(0)
def resetRepeated(self):
self.repeated = int(0)
@@
-139,7
+145,7
@@
class Timer:
self.processed_timers = [ ]
self.timer = eTimer()
self.processed_timers = [ ]
self.timer = eTimer()
- self.timer.
timeout.get()
.append(self.calcNextActivation)
+ self.timer.
callback
.append(self.calcNextActivation)
self.lastActivation = time()
self.calcNextActivation()
self.lastActivation = time()
self.calcNextActivation()