From: Ronny Strutz Date: Sun, 13 Nov 2005 13:59:57 +0000 (+0000) Subject: fixme: stopService() X-Git-Tag: 2.6.0~5264 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/cae001777c7b32bdb4f6f4199e9f49058946fe9f?hp=ebd311a360520b661c0853bfbef643620bbcfda7 fixme: stopService() --- diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py index 1b648e55..a2c3ded4 100644 --- a/lib/python/Screens/Standby.py +++ b/lib/python/Screens/Standby.py @@ -4,18 +4,21 @@ from Components.ActionMap import ActionMap class Standby(Screen): def Power(self): print "leave standby" + #start last played service + self.infobar.servicelist.zap() self.close() - def __init__(self, session): + def __init__(self, session, infobar): Screen.__init__(self, session) - + self.infobar = infobar print "enter standby" self["actions"] = ActionMap( [ "StandbyActions" ], { "power": self.Power }) - + + self.session.nav.stopService() #stop/pause? playing services #switch off avs \ No newline at end of file