aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-04 18:52:17 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-04 18:52:17 +0000
commit430284954068906c8e2ad3ac4479292f145610c4 (patch)
tree53156077fba3a31970450128b30d4139820553f0 /lib/python/Plugins
parent7c204dab4b7e1017ee3bbb74b8a6f45e0c77e693 (diff)
downloadenigma2-430284954068906c8e2ad3ac4479292f145610c4.tar.gz
enigma2-430284954068906c8e2ad3ac4479292f145610c4.zip
really fix satfinder
sync channellist with pip
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/Satfinder/plugin.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
index 861db627..fceff4ce 100644
--- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
@@ -79,12 +79,18 @@ class Satfinder(ScanSetup):
self.feid = feid
if not self.openFrontend():
- self.frontend = None
+ session.nav.stopService() # try to disable foreground service
+ if not self.openFrontend():
+ if session.pipshown: # try to disable pip
+ session.pipshown = False
+ del session.pip
+ if not self.openFrontend():
+ self.frontend = None # in normal case this should not happen
+ self.getFrontend = None
ScanSetup.__init__(self, session)
- self.session.nav.stopService()
self.tuner = Tuner(self.frontend)
-
+
self["snr"] = Label()
self["agc"] = Label()
self["ber"] = Label()
@@ -129,7 +135,7 @@ class Satfinder(ScanSetup):
self.list.append(getConfigListEntry(_('Symbol Rate'), config.scan.sat.symbolrate))
self.list.append(getConfigListEntry(_("Polarity"), config.scan.sat.polarization))
self.list.append(getConfigListEntry(_("FEC"), config.scan.sat.fec))
- elif config.tuning.transponder and self.currentConfigSelectionElement(config.tuning.type) == "predefined_transponder":
+ elif config.tuning.transponder and currentConfigSelectionElement(config.tuning.type) == "predefined_transponder":
self.list.append(getConfigListEntry(_("Transponder"), config.tuning.transponder))
self["config"].list = self.list
self["config"].l.setList(self.list)