AspectRatio.append(getRatio)
getColorFormat=ColorFormat.pop(0)
menuname=" %d. T%d %s V 22k x %s %s" % (current_index, key+1, val["type"], getRatio, getColorFormat)
- if 1 == key+1: # CAM test on/off
+ if len(self.NimType) == key+1: # CAM test on/off
menuname+=" CAM"
camtest = True
else:
AspectRatio.append(getRatio)
getColorFormat=ColorFormat.pop(0)
menuname=" %d. T%d %s %s %s" % (current_index, key+1, val["type"], getRatio, getColorFormat)
-# if len(self.NimType) == key+1: # CAM test on/off
- if 1 == key+1: # CAM test on/off
+ if len(self.NimType) == key+1: # CAM test on/off
+# if 1 == key+1: # CAM test on/off
menuname+=" CAM"
camtest = True
else:
self.tunemsgtimer.start(3000, True)
elif self.model == 3 or self.model == 4:
getTuneInfo=self.tuneInfo[index]
+ if getTuneInfo["cam"] is True:
+ self.camstep = 1
+ self.camtimer.start(100,True)
if getTuneInfo["type"].startswith("DVB-S"):
if getTuneInfo["pol"] == "H":
ref.setData(0,1)
ref.setData(1,0x1325)
ref.setData(2,0x3ef)
ref.setData(3,0x1)
- ref.setData(4,0x64af79)
if getTuneInfo["sat"] == "160": # Eutelsat W2
ref.setData(4,0xA00000)
elif getTuneInfo["sat"] == "100": # Eutelsat
self.avswitch.setAspectRatio(0)
elif getTuneInfo["ratio"] == "16:9":
self.avswitch.setAspectRatio(6)
- if getTuneInfo["cam"] is True:
- self.camstep = 1
- self.camtimer.start(100,True)
self.tuningtimer.start(2000,True)
self.tunemsgtimer.start(3000, True)