add possibility to select multimode instead of pal/ntsc for TVs with support
[enigma2.git] / lib / python / Components / AVSwitch.py
index 33045d403ecf74fa851dddbd47a496998ba15c67..8a7bd8d1e3e6b69f3e27a501c0e7bbef95f577c8 100644 (file)
@@ -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):