fix sense
[enigma2.git] / lib / python / Components / RecordingConfig.py
index 99c15a66b834b003157e979a5751cd4a689d4dc8..ea037a617805767fccc736632d8c8be139589bca 100644 (file)
@@ -4,6 +4,7 @@ from enigma import *
 
 def InitRecordingConfig():
        config.recording = ConfigSubsection();
-       config.recording.asktozap = configElement("config.recording.asktozap", configSelection, 1, (("yes", _("yes")), ("no", _("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 = configElement("config.recording.asktozap", configSelection, 1, (("no", _("no")), ("yes", _("yes"))) )
+       config.recording.margin_before = configElement("config.recording.margin_before", configSequence, [0], configsequencearg.get("INTEGER", (0, 30)))
+       config.recording.margin_after = configElement("config.recording.margin_after", configSequence, [0], configsequencearg.get("INTEGER", (0, 30)))