aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-06-01 08:24:12 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-06-01 08:24:12 +0000
commitc89cc6f801c9cc7040994b76b794412f3cd30a30 (patch)
tree2a8cb758ac6e747f7d4b2004fa34d37ca902c4cf /lib/python
parent1ec0848be9877eb632af2c446d7261ff9ab0c29f (diff)
downloadenigma2-c89cc6f801c9cc7040994b76b794412f3cd30a30.tar.gz
enigma2-c89cc6f801c9cc7040994b76b794412f3cd30a30.zip
fix symbolrate limits.. change parameter --scan_stepsize and --scan_bands to
--scan-stepsize and --scan-bands
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/NimManager.py4
-rw-r--r--lib/python/Screens/ScanSetup.py8
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index bf873b88..e5c56424 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -905,8 +905,8 @@ def InitNimManager(nimmgr):
nim.cable.scan_mod_qam256 = ConfigYesNo(default = True)
nim.cable.scan_sr_6900 = ConfigYesNo(default = True)
nim.cable.scan_sr_6875 = ConfigYesNo(default = True)
- nim.cable.scan_sr_ext1 = ConfigInteger(default = 0, limits = (0, 15000))
- nim.cable.scan_sr_ext2 = ConfigInteger(default = 0, limits = (0, 15000))
+ nim.cable.scan_sr_ext1 = ConfigInteger(default = 0, limits = (0, 7230))
+ nim.cable.scan_sr_ext2 = ConfigInteger(default = 0, limits = (0, 7230))
elif slot.isCompatible("DVB-T"):
nim.configMode = ConfigSelection(
choices = {
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py
index 9e7c539a..afcdbfa1 100644
--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -207,7 +207,7 @@ class CableTransponderSearchSupport:
cmd = "tda1002x --scan --verbose --wakeup --bus="
cmd += str(nim_idx)
if cableConfig.scan_type.value == "bands":
- cmd += " --scan_bands="
+ cmd += " --scan-bands="
bands = 0
if cableConfig.scan_band_EU_VHF_I.value:
bands |= cable_bands["DVBC_BAND_EU_VHF_I"]
@@ -235,7 +235,7 @@ class CableTransponderSearchSupport:
bands |= cable_bands["DVBC_BAND_US_HYPER"]
cmd += str(bands)
else:
- cmd += " --scan_stepsize="
+ cmd += " --scan-stepsize="
cmd += str(cableConfig.scan_frequency_steps.value)
if cableConfig.scan_mod_qam16.value:
cmd += " --mod 16"
@@ -251,11 +251,11 @@ class CableTransponderSearchSupport:
cmd += " --sr 6900000"
if cableConfig.scan_sr_6875.value:
cmd += " --sr 6875000"
- if cableConfig.scan_sr_ext1.value > 1000:
+ if cableConfig.scan_sr_ext1.value > 450:
cmd += " --sr "
cmd += str(cableConfig.scan_sr_ext1.value)
cmd += "000"
- if cableConfig.scan_sr_ext2.value > 1000:
+ if cableConfig.scan_sr_ext2.value > 450:
cmd += " --sr "
cmd += str(cableConfig.scan_sr_ext2.value)
cmd += "000"