X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FRecordingConfig.py;h=6a3bfb68328915ea2be7c58f781aca41aba499b0;hb=6dcb75c26bbfec04b381bb99d75404f9fe50635d;hp=cf65f747cef2a8407a1c14889d14eb12ce5ef74b;hpb=b1cb9892c9da7a9ca9202b60f0f280fb6335e95a;p=vuplus_dvbapp diff --git a/lib/python/Components/RecordingConfig.py b/lib/python/Components/RecordingConfig.py index cf65f74..6a3bfb6 100644 --- a/lib/python/Components/RecordingConfig.py +++ b/lib/python/Components/RecordingConfig.py @@ -1,9 +1,10 @@ -from config import * +from config import ConfigInteger, ConfigYesNo, ConfigSubsection, config import os -from enigma import * 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)