X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6eeefece35e4269e02fdb7abab4f79d8e7b8f98b..5e942862b2017443ec34831f649f890f8215a534:/lib/python/Components/RecordingConfig.py diff --git a/lib/python/Components/RecordingConfig.py b/lib/python/Components/RecordingConfig.py index 03719860..9a13bd62 100644 --- a/lib/python/Components/RecordingConfig.py +++ b/lib/python/Components/RecordingConfig.py @@ -1,9 +1,9 @@ -from config import ConfigInteger, ConfigYesNo, ConfigSubsection, config -import os +from config import ConfigNumber, ConfigYesNo, ConfigSubsection, config def InitRecordingConfig(): config.recording = ConfigSubsection(); # 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.margin_before = ConfigNumber(default=0) + config.recording.margin_after = ConfigNumber(default=0) + config.recording.debug = ConfigYesNo(default = False)