modifications for edit mode ( is working now )
[enigma2.git] / lib / python / Screens / Standby.py
1 from Screen import Screen
2 from Components.ActionMap import ActionMap
3
4 class Standby(Screen):
5         def Power(self):
6                 print "leave standby"
7                 #start last played service
8                 self.infobar.servicelist.zap()
9                 self.close()
10
11         def __init__(self, session, infobar):
12                 Screen.__init__(self, session)
13                 self.infobar = infobar
14                 print "enter standby"
15
16                 self["actions"] = ActionMap( [ "StandbyActions" ],
17                 {
18                         "power": self.Power
19                 })
20
21                 self.session.nav.stopService()
22                 #stop/pause? playing services
23                 #switch off avs
24