aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/RecordingConfig.py
blob: 1353f18accef9189506b16a1f3995bbd25e37a13 (plain)
1
2
3
4
5
6
7
8
9
from config import *
import os
from enigma import *

def InitRecordingConfig():
	config.recording = ConfigSubsection();
	config.recording.asktozap = configElement("config.recording.asktozap", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) )
	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)))