diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-15 00:14:57 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-15 00:14:57 +0000 |
| commit | 0c4182b7ce069ba7055fc9d0ffda7f4f8ba13e9f (patch) | |
| tree | a6bceb2e15f8bb005cf58e000ae18356af39e7ca /lib/python/Components/NimManager.py | |
| parent | 84f04f5d7473fa875372c53af82b11791da572dc (diff) | |
| download | enigma2-0c4182b7ce069ba7055fc9d0ffda7f4f8ba13e9f.tar.gz enigma2-0c4182b7ce069ba7055fc9d0ffda7f4f8ba13e9f.zip | |
add single satellite scan to userinterface
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 01ef4bf4..2086bee8 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -119,6 +119,20 @@ class NimManager: nimText += ("DVB-S", "DVB-C", "DVB-T")[slot.nimType] + ")" list.append((nimText, slot)) return list + + def getSatListForNim(self, slotid): + print "slotid:", slotid + list = [] + print "self.satellites:", self.satList[config.Nims[slotid].diseqcA.value] + print "diseqcA:", config.Nims[slotid].diseqcA.value + if (config.Nims[slotid].diseqcMode.value <= 3): + list.append(self.satList[config.Nims[slotid].diseqcA.value]) + if (0 < config.Nims[slotid].diseqcMode.value <= 3): + list.append(self.satList[config.Nims[slotid].diseqcB.value]) + if (config.Nims[slotid].diseqcMode.value == 3): + list.append(self.satList[config.Nims[slotid].diseqcC.value]) + list.append(self.satList[config.Nims[slotid].diseqcD.value]) + return list #callbacks for c++ config def nimConfigModeChanged(self, slotid, mode): |
