git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
837d200
)
don't allow loopthrough to tuners, that already have other tuners connected to
author
Stefan Pluecken
<
[email protected]
>
Thu, 17 Jul 2008 15:19:27 +0000
(15:19 +0000)
committer
Stefan Pluecken
<
[email protected]
>
Thu, 17 Jul 2008 15:19:27 +0000
(15:19 +0000)
lib/python/Components/NimManager.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/NimManager.py
b/lib/python/Components/NimManager.py
index 650223d91b33d4825600bc36b5aa6f873630ca48..350a6b140d69b609b2b5beab78269d825958aa96 100644
(file)
--- 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