from config import config, ConfigSelection, ConfigYesNo, ConfigEnableDisable, ConfigSubsection, ConfigBoolean
from enigma import eAVSwitch
+from SystemInfo import SystemInfo
class AVSwitch:
INPUT = { "ENCODER": (0, 4), "SCART": (1, 3), "AUX": (2, 4) }
if aspect is None:
aspect = self.getAspectRatioSetting()
if aspect == 0 or aspect == 1: # letterbox or panscan
- value = 3 # 4:3_full_format
+ if not config.av.wss.value:
+ value = 0 # wss off
+ else:
+ value = 3 # 4:3_full_format
elif aspect == 2: # 16:9
if not config.av.wss.value:
value = 2 # auto(4:3_off)
config.av.wss.addNotifier(setWSS)
iAVSwitch.setInput("ENCODER") # init on startup
+ SystemInfo["ScartSwitch"] = eAVSwitch.getInstance().haveScartSwitch()
+