git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3b755b0
)
RecordTimer.py: dont open recordfile when timer is just a zaptimer
author
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 23 Aug 2009 07:11:26 +0000
(09:11 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Sun, 23 Aug 2009 07:11:26 +0000
(09:11 +0200)
RecordTimer.py
patch
|
blob
|
history
diff --git
a/RecordTimer.py
b/RecordTimer.py
index 2606a3123018e8de46032f69a9b822edeef4ee0e..febc7f9b7e87bdbf545cef73657004615f006c9f 100644
(file)
--- 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