diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-06 17:59:27 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-06 17:59:27 +0100 |
| commit | be53117395c453d1a62f878d42beba927ddfbfe1 (patch) | |
| tree | 656f3f6e033d0148f0fcf33c0c0ea3ddfebff4d4 /lib | |
| parent | d00d32df526b88b146c711ce8951008d72ec6a56 (diff) | |
| download | enigma2-be53117395c453d1a62f878d42beba927ddfbfe1.tar.gz enigma2-be53117395c453d1a62f878d42beba927ddfbfe1.zip | |
fix standby for hardware without scart switch
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/Screens/Standby.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py index 4c3a1720..d09f28af 100644 --- a/lib/python/Screens/Standby.py +++ b/lib/python/Screens/Standby.py @@ -2,6 +2,7 @@ from Screen import Screen from Components.ActionMap import ActionMap from Components.config import config from Components.AVSwitch import AVSwitch +from Components.SystemInfo import SystemInfo from enigma import eDVBVolumecontrol inStandby = None @@ -49,7 +50,10 @@ class Standby(Screen): #stop actual played dvb-service self.session.nav.stopService() #set input to vcr scart - self.avswitch.setInput("SCART") + if SystemInfo["ScartSwitch"]: + self.avswitch.setInput("SCART") + else: + self.avswitch.setInput("AUX") #set lcd brightness to standby value config.lcd.standby.apply() self.onShow.append(self.__onShow) |
