aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-12 15:02:53 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-12 15:02:53 +0100
commit4eb0a9517110f531d15184ea155ccf3176f7d854 (patch)
treecb34e561bf058021350a4a92cea6bb4681295dee /lib/python/Components
parent25f3da9d9bb07467cd69219d2d2ffda66720ea00 (diff)
downloadenigma2-4eb0a9517110f531d15184ea155ccf3176f7d854.tar.gz
enigma2-4eb0a9517110f531d15184ea155ccf3176f7d854.zip
add possibility to set diseqc inputs to "nothing connected"
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index e1d3b068..41925aeb 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -40,7 +40,7 @@ class SecConfigure:
self.configuredSatellites.add(orbpos)
def addLNBSimple(self, sec, slotid, diseqcmode, toneburstmode = diseqcParam.NO, diseqcpos = diseqcParam.SENDNO, orbpos = 0, longitude = 0, latitude = 0, loDirection = 0, laDirection = 0, turningSpeed = rotorParam.FAST, useInputPower=True, inputPowerDelta=50):
- if orbpos is None:
+ if orbpos is None or orbpos == 3601:
return
#simple defaults
sec.addLNB()
@@ -893,10 +893,10 @@ def InitNimManager(nimmgr):
if id != x:
choices.append((str(id), nimmgr.getNimDescription(id)))
nim.connectedTo = ConfigSelection(choices = choices)
- nim.diseqcA = getConfigSatlist(192, nimmgr.satList)
- nim.diseqcB = getConfigSatlist(130, nimmgr.satList)
- nim.diseqcC = ConfigSatlist(list = nimmgr.satList)
- nim.diseqcD = ConfigSatlist(list = nimmgr.satList)
+ nim.diseqcA = getConfigSatlist(192, [(3601, _('nothing connected'), 1)] + nimmgr.satList)
+ nim.diseqcB = getConfigSatlist(130, [(3601, _('nothing connected'), 1)] + nimmgr.satList)
+ nim.diseqcC = ConfigSatlist(list = [(3601, _('nothing connected'), 1)] + nimmgr.satList)
+ nim.diseqcD = ConfigSatlist(list = [(3601, _('nothing connected'), 1)] + nimmgr.satList)
nim.positionerMode = ConfigSelection(
choices = [
("usals", _("USALS")),