self.list.append(self.typeOfScanEntry)
if nimmanager.getNimType(self.scan_nims.index) == nimmanager.nimType["DVB-S"]:
-
if self.scan_type.value == "single_transponder":
- self.systemEntry = getConfigListEntry(_('Transpondertype'), self.scan_sat.system)
- self.list.append(self.systemEntry)
+ if nimmanager.getNimName(self.scan_nims.index).find("DVB-S2") != -1:
+ self.systemEntry = getConfigListEntry(_('Transpondertype'), self.scan_sat.system)
+ self.list.append(self.systemEntry)
self.list.append(getConfigListEntry(_('Satellite'), self.scan_satselection[self.scan_nims.index]))
self.list.append(getConfigListEntry(_('Frequency'), self.scan_sat.frequency))
self.list.append(getConfigListEntry(_('Inversion'), self.scan_sat.inversion))
for slot in nimmanager.nimslots:
if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]):
print str(slot.slotid) + " : " + str(self.satList)
- self.scan_satselection.append(getConfigSatlist(defaultSat["orbpos"],self.satList[slot.slotid]))
+ self.scan_satselection.append(getConfigSatlist(int(defaultSat["orbpos"]), self.satList[slot.slotid]))
else:
self.scan_satselection.append(None)
elif self.scan_type.value == "single_satellite":
sat = self.satList[self.scan_nims.index][self.scan_satselection[self.scan_nims.index].index]
getInitialTransponderList(tlist, sat[0])
- if sat[2] & 1:
- flags |= eComponentScan.scanNetworkSearch
+ flags |= eComponentScan.scanNetworkSearch
tmp = self.scan_clearallservices.value
if tmp == "yes":
flags |= eComponentScan.scanRemoveServices