aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-01 21:38:07 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-01 21:38:07 +0000
commit7f088b2e0ec5051c3b9b9a1942198f0be28f315b (patch)
tree81ff377dca05dd34872806f28cd325e8e0d8a7c3 /lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
parentf21ed7557f028e334810bf1094251f93520dce2a (diff)
downloadenigma2-7f088b2e0ec5051c3b9b9a1942198f0be28f315b.tar.gz
enigma2-7f088b2e0ec5051c3b9b9a1942198f0be28f315b.zip
restart previous running services in onClose event
remove some debug output
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Satfinder/plugin.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/Satfinder/plugin.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
index 90650406..d6d967d2 100644
--- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
@@ -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
@@ -227,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):