From 65e93a627a7299c2087f85ae8f2f26bfcea3d122 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 23 Aug 2009 09:11:26 +0200 Subject: [PATCH] RecordTimer.py: dont open recordfile when timer is just a zaptimer --- RecordTimer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RecordTimer.py b/RecordTimer.py index 2606a31..febc7f9 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -218,7 +218,8 @@ class RecordTimerEntry(timer.TimerEntry, object): # because another recording at the same time on another service can try to record the same event # i.e. cable / sat.. then the second recording needs an own extension... when we create the file # here than calculateFilename is happy - open(self.Filename + ".ts", "w").close() + if not self.justplay: + open(self.Filename + ".ts", "w").close() # fine. it worked, resources are allocated. self.next_activation = self.begin self.backoff = 0 -- 2.7.4