set lcd to setup-value (for standby)
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Mon, 14 Nov 2005 03:06:01 +0000 (03:06 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Mon, 14 Nov 2005 03:06:01 +0000 (03:06 +0000)
lib/python/Screens/Standby.py

index bb38da106ba675c19fd95f8e793eeaa666e250d9..0f7181517816b9e46975ed60ddd2d924ae1e365b 100644 (file)
@@ -1,5 +1,6 @@
 from Screen import Screen
 from Components.ActionMap import ActionMap
+from Components.config import config
 from enigma import *
 
 class Standby(Screen):
@@ -9,6 +10,7 @@ class Standby(Screen):
                eAVSwitch.getInstance().setInput(0)
                self.infobar.servicelist.zap()
                self.leaveMute()
+               eDBoxLCD.getInstance().setLCDBrightness(config.lcd.bright.value * 20)
                self.close()
 
        def setMute(self):
@@ -36,8 +38,6 @@ class Standby(Screen):
                self.setMute()
                self.session.nav.stopService()
                eAVSwitch.getInstance().setInput(1)
-
-               
-               #stop/pause? playing services
-               #switch off avs
+               eDBoxLCD.getInstance().setLCDBrightness(config.lcd.standby.value * 20)
+       
                
\ No newline at end of file