X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpython%2FComponents%2FRecordingConfig.py;h=fe9284d9d4d738bf7c0cd9f91cea8fe83e0011cb;hb=6ae5d719b93de2e8897a660ac61b0e9c5a190dde;hp=99c15a66b834b003157e979a5751cd4a689d4dc8;hpb=c06f79c0451ca844f89809058a2767a1a319b137;p=vuplus_dvbapp diff --git a/lib/python/Components/RecordingConfig.py b/lib/python/Components/RecordingConfig.py index 99c15a6..fe9284d 100644 --- a/lib/python/Components/RecordingConfig.py +++ b/lib/python/Components/RecordingConfig.py @@ -1,9 +1,10 @@ -from config import * -import os -from enigma import * +from config import ConfigNumber, ConfigYesNo, ConfigSubsection, config 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 = ConfigYesNo(default=True) + config.recording.margin_before = ConfigNumber(default=0) + config.recording.margin_after = ConfigNumber(default=0) + config.recording.debug = ConfigYesNo(default = False) + config.recording.ascii_filenames = ConfigYesNo(default = False)