X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b1cb9892c9da7a9ca9202b60f0f280fb6335e95a..c224c2a18e15eaa4e41377b0ed03c4807e25aa2d:/lib/python/Components/RecordingConfig.py diff --git a/lib/python/Components/RecordingConfig.py b/lib/python/Components/RecordingConfig.py index cf65f747..d3a0daf2 100644 --- a/lib/python/Components/RecordingConfig.py +++ b/lib/python/Components/RecordingConfig.py @@ -1,9 +1,9 @@ -from config import * -import os -from enigma import * +from config import ConfigInteger, ConfigYesNo, ConfigSubsection, config def InitRecordingConfig(): config.recording = ConfigSubsection(); - config.recording.asktozap = configElement("config.recording.asktozap", configSelection, 1, (_("yes"), _("no")) ); - - + # actually this is "recordings always have priority". "Yes" does mean: don't ask. The RecordTimer will ask when value is 0. + config.recording.asktozap = ConfigYesNo(default=True) + config.recording.margin_before = ConfigInteger(default=0, limits=(0,30)) + config.recording.margin_after = ConfigInteger(default=0, limits=(0,30)) + config.recording.debug = ConfigYesNo(default = False)