add
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Sat, 12 Nov 2005 18:40:52 +0000 (18:40 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Sat, 12 Nov 2005 18:40:52 +0000 (18:40 +0000)
lib/python/Screens/Standby.py [new file with mode: 0644]

diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
new file mode 100644 (file)
index 0000000..1b648e5
--- /dev/null
@@ -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