Hello there,
For a plugin i am creating i wish to include a zap to channel feature, i have got the majority of it sorted but i am having some problems with codes for western satellites after i create instance of ScanSetup file.
the eastern satellites show like this (just the satellite degrees but without the . e.g. 192 instead of 19.2:
astra1 19.2east = 192
16.0east = 160
hotbird 13.0east = 130
However i have noticed the western ones have a different code, shown below is what i mean, i expected the western ones to be e.g. "-08" for 0.8west but it shows up as 3592 instead.
8.0west = 3520
5.0west = 3550
0.8west = 3592
Can somebody tell me how these codes are generated for western satellites and if indeed the eastern ones are simply the degree position without the dot? What can i do to the western ones to make them in a more readable format such as "-08" for 0.8west or will i just have to go around the western ones and work them out individually?
The code i refer to is the code within ScanSetup file, obviously the default satellite is 19.2, when i change "orbpos" to say -08 for 0.8west it just comes up as 61west instead.
def createConfig(self, frontendData):
defaultSat = {
"orbpos": 192,
"system": eDVBFrontendParametersSatellite.System_DVB_S,
"frequency": 11836,
"inversion": eDVBFrontendParametersSatellite.Inversion_Unknown,
"symbolrate": 27500,
"polarization": eDVBFrontendParametersSatellite.Polarisation_Horizontal,
"fec": eDVBFrontendParametersSatellite.FEC_Auto,
"fec_s2": eDVBFrontendParametersSatellite.FEC_9_10,
"modulation": eDVBFrontendParametersSatellite.Modulation_QPSK }
Alles anzeigen
Thanks
Mark