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:03:30 +0200 |
| commit | 10db7be1b01656e6c5dec4954841ea803b73b884 (patch) | |
| tree | 3c3145d142f403b8b43956929d4992dff15a1e15 /lib/python/Components/RecordingConfig.py | |
| parent | a145e380dcf5aac25d54bd634f92e9312a791f84 (diff) | |
| download | enigma2-10db7be1b01656e6c5dec4954841ea803b73b884.tar.gz enigma2-10db7be1b01656e6c5dec4954841ea803b73b884.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 |
