diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2010-05-12 16:03:30 +0200 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2010-05-12 16:09:08 +0200 |
| commit | bea4946ae09bcab368696c50031e29c635017585 (patch) | |
| tree | f41a853cf9b9e0e87ee1549beb7635b413545441 /lib/python/Components/RecordingConfig.py | |
| parent | 4b3ef746d0d0990b734680df9b6132fa01344eb6 (diff) | |
| download | enigma2-bea4946ae09bcab368696c50031e29c635017585.tar.gz enigma2-bea4946ae09bcab368696c50031e29c635017585.zip | |
RecordTimer.py,RecordingConfig.py,setup.xml: *add possibility to change the default recording filename composition in expert mode.
This allows now to have shorter recording filenames (Date-Name) or longer (DateTime-Channel-Name-Shortdescription) beside the default.
This fixes #345
Diffstat (limited to 'lib/python/Components/RecordingConfig.py')
| -rwxr-xr-x[-rw-r--r--] | lib/python/Components/RecordingConfig.py | 6 |
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 |
