From 528136d57ab648e72080318bcb15f00bdc079fdd Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 14 Mar 2007 10:38:46 +0000 Subject: [PATCH] hopefully fix false positive "currently a timer is running.. or starts in a few seconds" message on enigma shutdown --- RecordTimer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RecordTimer.py b/RecordTimer.py index b18a594d..2961f950 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -170,6 +170,7 @@ class RecordTimerEntry(timer.TimerEntry): prep_res=self.record_service.prepare(self.Filename + ".ts", self.begin, self.end, event_id) if prep_res: self.log(2, "'prepare' failed: error %d" % prep_res) + NavigationInstance.instance.stopRecordService(self.record_service) self.record_service = None return False @@ -190,6 +191,7 @@ class RecordTimerEntry(timer.TimerEntry): f.close() except IOError: self.log(4, "failed to write meta information") + NavigationInstance.instance.stopRecordService(self.record_service) self.record_service = None return False return True -- 2.30.2