- nim.configMode = configElement(cname + "configMode", configSelection, 0, (_("Simple"), _("Linked tuner"))) # "Advanced"));
- nim.diseqcMode = configElement(cname + "diseqcMode", configSelection, 2, (_("Single"), _("Toneburst A/B"), _("DiSEqC A/B"), _("DiSEqC A/B/C/D"), _("Positioner")));
+ nim.configMode = configElement(cname + "configMode", configSelection, 0, (_("Simple"), _("Loopthrough to Socket A"))) # "Advanced"));
+
+ #important - check if just the 2nd one is LT only and the first one is DVB-S
+ if nim.configMode.value == 1: #linked
+ if x == 0: #first one can never be linked to anything
+ nim.configMode.value = 0 #reset to simple
+ nim.configMode.save()
+ else:
+ #FIXME: make it better
+ for y in nimmgr.nimslots:
+ if y.slotid == 0:
+ if y.nimType != nimmgr.nimType["DVB-S"]:
+ nim.configMode.value = 0 #reset to simple
+ nim.configMode.save()
+
+ nim.diseqcMode = configElement(cname + "diseqcMode", configSelection, 2, (_("Single"), _("Toneburst A/B"), _("DiSEqC A/B"), _("DiSEqC A/B/C/D")))#, _("Positioner")));