diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-07-15 22:24:28 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-07-15 22:24:28 +0000 |
| commit | 8b7bd9c03984b5f534a0c50561621c1368d926da (patch) | |
| tree | 20b30e9f0684f321cc58e4e98d132a25123b382c /lib/python/Components | |
| parent | acd4a0e33549fcc02655dc50269dda173196c5a3 (diff) | |
| download | enigma2-8b7bd9c03984b5f534a0c50561621c1368d926da.tar.gz enigma2-8b7bd9c03984b5f534a0c50561621c1368d926da.zip | |
take care for disabled -C -T frontends
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() |
