projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
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
2606a31
..
febc7f9
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
# 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
# fine. it worked, resources are allocated.
self.next_activation = self.begin
self.backoff = 0