diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-12 15:02:53 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-12 15:02:53 +0100 |
| commit | 4eb0a9517110f531d15184ea155ccf3176f7d854 (patch) | |
| tree | cb34e561bf058021350a4a92cea6bb4681295dee /lib/python/Components | |
| parent | 25f3da9d9bb07467cd69219d2d2ffda66720ea00 (diff) | |
| download | enigma2-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.py | 10 |
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")), |
