1 from config import ConfigNumber, ConfigYesNo, ConfigSubsection, ConfigSelection, config
3 def InitRecordingConfig():
4 config.recording = ConfigSubsection();
5 # actually this is "recordings always have priority". "Yes" does mean: don't ask. The RecordTimer will ask when value is 0.
6 config.recording.asktozap = ConfigYesNo(default=True)
7 config.recording.margin_before = ConfigNumber(default=0)
8 config.recording.margin_after = ConfigNumber(default=0)
9 config.recording.debug = ConfigYesNo(default = False)
10 config.recording.ascii_filenames = ConfigYesNo(default = False)
11 config.recording.filename_composition = ConfigSelection(default = "standard", choices = [
12 ("standard", _("standard")),
13 ("short", _("Short filenames")),
14 ("long", _("Long filenames")) ] )