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 (parent:
10db7be
)
RecordTimer.py: fix double name in recording filenames. refs #345
author
acid-burn
<acid-burn@opendreambox.org>
Fri, 28 May 2010 08:38:40 +0000
(10:38 +0200)
committer
acid-burn
<acid-burn@opendreambox.org>
Fri, 28 May 2010 08:38:40 +0000
(10:38 +0200)
RecordTimer.py
patch
|
blob
|
history
diff --git
a/RecordTimer.py
b/RecordTimer.py
index 04c3ff122a2fd9dd7e81ccca82d64564f380986e..1608caaf74ad1fe2fb27d3e8745f6bb9c8e525d7 100755
(executable)
--- a/
RecordTimer.py
+++ b/
RecordTimer.py
@@
-138,14
+138,15
@@
class RecordTimerEntry(timer.TimerEntry, object):
filename = begin_date + " - " + service_name
if self.name:
filename = begin_date + " - " + service_name
if self.name:
- filename += " - " + self.name
if config.usage.setup_level.index >= 2: # expert+
if config.recording.filename_composition.value == "short":
filename = begin_shortdate + " - " + self.name
elif config.recording.filename_composition.value == "long":
if config.usage.setup_level.index >= 2: # expert+
if config.recording.filename_composition.value == "short":
filename = begin_shortdate + " - " + self.name
elif config.recording.filename_composition.value == "long":
- filename
= begin_date + " - " + service_name +
" - " + self.name + " - " + self.description
+ filename
+=
" - " + self.name + " - " + self.description
else:
filename += " - " + self.name # standard
else:
filename += " - " + self.name # standard
+ else:
+ filename += " - " + self.name
if config.recording.ascii_filenames.value:
filename = ASCIItranslit.legacyEncode(filename)
if config.recording.ascii_filenames.value:
filename = ASCIItranslit.legacyEncode(filename)