aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Standby.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
new file mode 100644
index 00000000..1b648e55
--- /dev/null
+++ b/lib/python/Screens/Standby.py
@@ -0,0 +1,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
+ \ No newline at end of file