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 bb38da1..0f71815 100644 (file)
@@ -1,5 +1,6 @@
 from Screen import Screen
 from Components.ActionMap import ActionMap
 from Screen import Screen
 from Components.ActionMap import ActionMap
+from Components.config import config
 from enigma import *
 
 class Standby(Screen):
 from enigma import *
 
 class Standby(Screen):
@@ -9,6 +10,7 @@ class Standby(Screen):
                eAVSwitch.getInstance().setInput(0)
                self.infobar.servicelist.zap()
                self.leaveMute()
                eAVSwitch.getInstance().setInput(0)
                self.infobar.servicelist.zap()
                self.leaveMute()
+               eDBoxLCD.getInstance().setLCDBrightness(config.lcd.bright.value * 20)
                self.close()
 
        def setMute(self):
                self.close()
 
        def setMute(self):
@@ -36,8 +38,6 @@ class Standby(Screen):
                self.setMute()
                self.session.nav.stopService()
                eAVSwitch.getInstance().setInput(1)
                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
                
\ No newline at end of file