diff options
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/Standby.py | 9 |
1 files changed, 6 insertions, 3 deletions
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 |
