aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Standby.py
blob: 1b648e5595253ec1128f6335cb551751d8771688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from Screen import Screen
from Components.ActionMap import ActionMap

class Standby(Screen):
	def Power(self):
		print "leave standby"
		self.close()

	def __init__(self, session):
		Screen.__init__(self, session)
		
		print "enter standby"

		self["actions"] = ActionMap( [ "StandbyActions" ],
		{
			"power": self.Power
		})
		
		#stop/pause? playing services
		#switch off avs