add a radiomode background picture (mvi file.. changable in
[enigma2.git] / lib / python / Components / AVSwitch.py
index 33045d403ecf74fa851dddbd47a496998ba15c67..a8e471ba645e2322a3802ef35d4aac8468a62c0a 100644 (file)
@@ -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):