added diseqc-options
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Sat, 8 Oct 2005 01:15:44 +0000 (01:15 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Sat, 8 Oct 2005 01:15:44 +0000 (01:15 +0000)
added default values for port-A (astra) and port-B (hotbird)

lib/python/Components/NimManager.py

index abe75c4..6af1e76 100644 (file)
@@ -95,11 +95,10 @@ def InitNimManager(nimmgr):
                cname = nimmgr.getConfigPrefix(x)
                
                if slot.nimType == nimmgr.nimType["DVB-S"]:
-                       #use custom configElement which can handle a dict (for sats)
                        config.Nims[x].configMode = configElement(cname + "configMode",configSelection, 0, ("Simple", "Advanced"));
-                       config.Nims[x].diseqcMode = configElement(cname + "diseqcMode",configSelection, 0, ("Single", "Toneburst A/B", "DiSEqC A/B", "DiSEqC A/B/C/D"));
-                       config.Nims[x].diseqcA = configElement(cname + "diseqcA",configSatlist, 0, nimmgr.satList);
-                       config.Nims[x].diseqcB = configElement(cname + "diseqcB",configSatlist, 0, nimmgr.satList);
+                       config.Nims[x].diseqcMode = configElement(cname + "diseqcMode",configSelection, 2, ("Single", "Toneburst A/B", "DiSEqC A/B", "DiSEqC A/B/C/D"));
+                       config.Nims[x].diseqcA = configElement(cname + "diseqcA",configSatlist, 192, nimmgr.satList);
+                       config.Nims[x].diseqcB = configElement(cname + "diseqcB",configSatlist, 130, nimmgr.satList);
                        config.Nims[x].diseqcC = configElement(cname + "diseqcC",configSatlist, 0, nimmgr.satList);
                        config.Nims[x].diseqcD = configElement(cname + "diseqcD",configSatlist, 0, nimmgr.satList);
                else: