From: Andreas Monzner Date: Wed, 14 Mar 2007 10:38:46 +0000 (+0000) Subject: hopefully fix false positive "currently a timer is running.. or starts in a X-Git-Url: http://code.vuplus.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=528136d57ab648e72080318bcb15f00bdc079fdd;p=vuplus_dvbapp hopefully fix false positive "currently a timer is running.. or starts in a few seconds" message on enigma shutdown --- diff --git a/RecordTimer.py b/RecordTimer.py index b18a594..2961f95 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