movie player configuration options, by Anders Holst
[enigma2.git] / lib / python / Components / RecordingConfig.py
index d3a0daf2edbf4e52b21c1856b02818a9874b86bb..9a13bd62f071f3db3e2bea58827912de37979918 100644 (file)
@@ -1,9 +1,9 @@
-from config import ConfigInteger, ConfigYesNo, ConfigSubsection, config
+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)
 
 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.debug = ConfigYesNo(default = False)