fixme: stopService()
[enigma2.git] / lib / python / Screens / Standby.py
index 1b648e5..a2c3ded 100644 (file)
@@ -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