X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FRecordingConfig.py;h=fe9284d9d4d738bf7c0cd9f91cea8fe83e0011cb;hb=ab40b0a5518886c7aa94458425bdec90d5430ee9;hp=6a3bfb68328915ea2be7c58f781aca41aba499b0;hpb=a1459dc3c43107cc60c1f4869fe87ee8763b70fe;p=vuplus_dvbapp diff --git a/lib/python/Components/RecordingConfig.py b/lib/python/Components/RecordingConfig.py index 6a3bfb6..fe9284d 100644 --- a/lib/python/Components/RecordingConfig.py +++ b/lib/python/Components/RecordingConfig.py @@ -1,10 +1,10 @@ -from config import ConfigInteger, ConfigYesNo, ConfigSubsection, config -import os +from config import ConfigNumber, ConfigYesNo, ConfigSubsection, config def InitRecordingConfig(): config.recording = ConfigSubsection(); # 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.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)