aboutsummaryrefslogtreecommitdiff
path: root/RecordTimer.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-08-23 09:11:26 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-08-23 09:11:26 +0200
commit65e93a627a7299c2087f85ae8f2f26bfcea3d122 (patch)
treea974de35ad10050d927f39b20e485a34713725dd /RecordTimer.py
parent3b755b060d094e5a2fef620fafbd237196054540 (diff)
downloadenigma2-65e93a627a7299c2087f85ae8f2f26bfcea3d122.tar.gz
enigma2-65e93a627a7299c2087f85ae8f2f26bfcea3d122.zip
RecordTimer.py: dont open recordfile when timer is just a zaptimer
Diffstat (limited to 'RecordTimer.py')
-rw-r--r--RecordTimer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/RecordTimer.py b/RecordTimer.py
index 2606a312..febc7f9b 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