diff options
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/NimManager.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 00f9c18b..8d3afaed 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -108,6 +108,8 @@ class SecConfigure: nim_slots = self.NimManager.nim_slots + used_nim_slots = [ ] + for slot in nim_slots: x = slot.slot nim = slot.config @@ -123,6 +125,11 @@ class SecConfigure: self.setSatposDepends(sec, x, int(nim.satposDependsTo.value)) self.satposdepends[int(nim.satposDependsTo.value)]=x + if slot.type is not None: + used_nim_slots.append((slot.slot, slot.description, nim.configMode.value != "nothing" and True or False)) + + eDVBResourceManager.getInstance().setFrontendSlotInformations(used_nim_slots) + for slot in nim_slots: x = slot.slot nim = slot.config @@ -976,8 +983,6 @@ def InitNimManager(nimmgr): print "pls add support for this frontend type!" # assert False - eDVBResourceManager.getInstance().setFrontendSlotInformations(used_nim_slots) - nimmgr.sec = SecConfigure(nimmgr) nimmanager = NimManager() |
