diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-07-17 15:19:27 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-07-17 15:19:27 +0000 |
| commit | e035ecc2c81574da1c1dbead323d4fc76ed74a7d (patch) | |
| tree | f86e85bd90ecf882d4aca8e29e014fbb1b112064 /lib/python/Components/NimManager.py | |
| parent | 837d2002999d5ff89bc60e9e5c35d16e7efe084c (diff) | |
| download | enigma2-e035ecc2c81574da1c1dbead323d4fc76ed74a7d.tar.gz enigma2-e035ecc2c81574da1c1dbead323d4fc76ed74a7d.zip | |
don't allow loopthrough to tuners, that already have other tuners connected to
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 650223d9..350a6b14 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -629,6 +629,13 @@ class NimManager: if not (type == "DVB-S" and self.getNimType(slot)): if self.hasOutputs(slot): slots.append(slot) + # remove nims, that have a conntectedTo reference on + for testnim in slots[:]: + for nim in self.getNimListOfType("DVB-S", slotid): + nimConfig = self.getNimConfig(nim) + if nimConfig.content.items.has_key("configMode") and nimConfig.configMode.value == "loopthrough" and int(nimConfig.connectedTo.value) == testnim: + slots.remove(testnim) + break slots.sort() return slots |
