X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/601d6f20152532574b5d60aed5ba862afa21ba1c..7f088b2e0ec5051c3b9b9a1942198f0be28f315b:/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py?ds=sidebyside
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
index 50182a9e..d6d967d2 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
@@ -115,6 +115,10 @@ class Satfinder(ScanSetup):
self["introduction"].setText("")
self["Frontend"] = FrontendStatus(frontend_source = lambda : self.frontend, update_interval = 100)
self.initcomplete = True
+ self.onClose.append(self.__onClose)
+
+ def __onClose(self):
+ self.session.nav.playService(self.oldref)
def createSetup(self):
self.typeOfTuningEntry = None
@@ -189,6 +193,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:
@@ -201,10 +207,18 @@ class Satfinder(ScanSetup):
fec = "FEC_5_6"
elif x[4] == 5:
fec = "FEC_7_8"
- elif x[4] == 5:
- fec = "FEC_8_9"
elif x[4] == 6:
+ fec = "FEC_8_9"
+ elif x[4] == 7:
+ fec = "FEC_3_5"
+ elif x[4] == 8:
+ fec = "FEC_4_5"
+ elif x[4] == 9:
+ fec = "FEC_9_10"
+ elif x[4] == 15:
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)
@@ -217,7 +231,8 @@ class Satfinder(ScanSetup):
if self.frontend:
self.frontend = None
del self.raw_channel
- self.session.nav.playService(self.oldref)
+ else:
+ self.oldref = None
self.close(None)
def keyCancel(self):