aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/NimManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/NimManager.py')
-rw-r--r--lib/python/Components/NimManager.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index e5c56424..bcdd9440 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -4,7 +4,8 @@ from enigma import eDVBSatelliteEquipmentControl as secClass, \
eDVBSatelliteLNBParameters as lnbParam, \
eDVBSatelliteDiseqcParameters as diseqcParam, \
eDVBSatelliteSwitchParameters as switchParam, \
- eDVBSatelliteRotorParameters as rotorParam
+ eDVBSatelliteRotorParameters as rotorParam, \
+ eDVBResourceManager
import xml.dom.minidom
from xml.dom import EMPTY_NAMESPACE
@@ -732,12 +733,17 @@ def InitNimManager(nimmgr):
for x in range(len(nimmgr.nim_slots)):
config.Nims.append(ConfigSubsection())
+ used_nim_slots = [ ]
+
for slot in nimmgr.nim_slots:
x = slot.slot
nim = config.Nims[x]
# HACK: currently, we can only looptrough to socket A
+ if slot.type is not None:
+ used_nim_slots.append((slot.slot, slot.description))
+
if slot.isCompatible("DVB-S"):
if slot.slot == 0:
nim.configMode = ConfigSelection(
@@ -926,6 +932,8 @@ 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()