X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6eeefece35e4269e02fdb7abab4f79d8e7b8f98b..6bf2f1a4c1980a402631713a53268fa2da8d916a:/lib/python/Components/AVSwitch.py diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py index 33045d40..a8e471ba 100644 --- a/lib/python/Components/AVSwitch.py +++ b/lib/python/Components/AVSwitch.py @@ -1,6 +1,6 @@ from config import config, ConfigSelection, ConfigYesNo, ConfigEnableDisable, ConfigSubsection, ConfigBoolean import os -from enigma import * +from enigma import eAVSwitch class AVSwitch: INPUT = { "ENCODER": (0, 4), "SCART": (1, 3), "AUX": (2, 4) } @@ -89,7 +89,7 @@ def InitAVSwitch(): "16_10_letterbox": _("16:10 Letterbox"), "16_10_panscan": _("16:10 PanScan")}, default = "4_3_letterbox") - config.av.tvsystem = ConfigSelection(choices = {"pal": _("PAL"), "ntsc": _("NTSC")}, default="pal") + config.av.tvsystem = ConfigSelection(choices = {"pal": _("PAL"), "ntsc": _("NTSC"), "multinorm": _("multinorm")}, default="pal") config.av.wss = ConfigEnableDisable(default = True) config.av.defaultac3 = ConfigYesNo(default = False) config.av.vcrswitch = ConfigEnableDisable(default = False) @@ -105,7 +105,7 @@ def InitAVSwitch(): iAVSwitch.setAspectRatio(map[configElement.value]) def setSystem(configElement): - map = {"pal": 0, "ntsc": 1} + map = {"pal": 0, "ntsc": 1, "multinorm" : 2} iAVSwitch.setSystem(map[configElement.value]) def setWSS(configElement):