From: ghost Date: Fri, 6 Feb 2009 16:59:27 +0000 (+0100) Subject: fix standby for hardware without scart switch X-Git-Tag: 2.6.0~470 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/be53117395c453d1a62f878d42beba927ddfbfe1?ds=sidebyside fix standby for hardware without scart switch --- 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)