aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2010-10-05 09:57:51 +0200
committeracid-burn <acid-burn@opendreambox.org>2010-10-05 09:57:51 +0200
commitb5d9fa054d38ffbda31b0982ed3c9b55f99f4b9e (patch)
tree00b7f691ad6b0946e9ccd115e4457df760084b1f /lib/python/Components
parent3cc82828e92d2e8b5125de590ddc9e693a2a2ea0 (diff)
parent296d197199348f0f39834308768487ee4b9f0285 (diff)
downloadenigma2-b5d9fa054d38ffbda31b0982ed3c9b55f99f4b9e.tar.gz
enigma2-b5d9fa054d38ffbda31b0982ed3c9b55f99f4b9e.zip
Merge commit 'origin/bug_345_configurable_recordingnames'
Diffstat (limited to 'lib/python/Components')
-rwxr-xr-x[-rw-r--r--]lib/python/Components/RecordingConfig.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Components/RecordingConfig.py b/lib/python/Components/RecordingConfig.py
index fe9284d9..40dfb2ca 100644..100755
--- a/lib/python/Components/RecordingConfig.py
+++ b/lib/python/Components/RecordingConfig.py
@@ -1,4 +1,4 @@
-from config import ConfigNumber, ConfigYesNo, ConfigSubsection, config
+from config import ConfigNumber, ConfigYesNo, ConfigSubsection, ConfigSelection, config
def InitRecordingConfig():
config.recording = ConfigSubsection();
@@ -8,3 +8,7 @@ def InitRecordingConfig():
config.recording.margin_after = ConfigNumber(default=0)
config.recording.debug = ConfigYesNo(default = False)
config.recording.ascii_filenames = ConfigYesNo(default = False)
+ config.recording.filename_composition = ConfigSelection(default = "standard", choices = [
+ ("standard", _("standard")),
+ ("short", _("Short filenames")),
+ ("long", _("Long filenames")) ] ) \ No newline at end of file