X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/567cf170322df2e897871787255c50bd522e6313..9ebda6e28dcc96d34b6c5c63d94883adc7ef2dd3:/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py index 9ad11302..73a857ec 100644 --- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py +++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py @@ -1,4 +1,4 @@ -from enigma import eTimer, eDVBResourceManager,\ +from enigma import eDVBResourceManager,\ eDVBFrontendParametersSatellite, eDVBFrontendParameters from Screens.Screen import Screen @@ -69,11 +69,11 @@ class Satfinder(ScanSetup): BER - + LOCK - + LOCK Invert @@ -189,6 +189,8 @@ class Satfinder(ScanSetup): pol = "CL" elif x[3] == 3: pol = "CR" + else: + pol = "??" if x[4] == 0: fec = "FEC_AUTO" elif x[4] == 1: @@ -205,6 +207,8 @@ class Satfinder(ScanSetup): fec = "FEC_8_9" elif x[4] == 6: fec = "FEC_None" + else: + fec = "FEC_Unknown" list.append(str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec) self.tuning_transponder = ConfigSelection(choices = list) self.tuning_transponder.addNotifier(self.retune, initial_call = False) @@ -272,7 +276,7 @@ def SatfinderMain(session, **kwargs): def SatfinderStart(menuid, **kwargs): if menuid == "scan": - return [(_("Satfinder"), SatfinderMain)] + return [(_("Satfinder"), SatfinderMain, "satfinder", None)] else: return []