X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FScanSetup.py;h=f9c25c700ab8a1db00ebb5d603dc266ea9d214f4;hp=1e164d432dfb9ad944824fdf80a348aec118943a;hb=d4ac90a0740a22c86e8f18a49a594e9a8f3746df;hpb=075ad90b31e50c2b737acc6bc0b20ae6764ceffb diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py index 1e164d4..f9c25c7 100644 --- a/lib/python/Screens/ScanSetup.py +++ b/lib/python/Screens/ScanSetup.py @@ -188,10 +188,10 @@ class ScanSetup(ConfigListScreen, Screen): 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)) @@ -396,7 +396,7 @@ class ScanSetup(ConfigListScreen, Screen): 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)