aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/AVSwitch.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/AVSwitch.py')
-rw-r--r--lib/python/Components/AVSwitch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py
index d3224fd7..ab17fd82 100644
--- a/lib/python/Components/AVSwitch.py
+++ b/lib/python/Components/AVSwitch.py
@@ -1,5 +1,6 @@
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) }
@@ -120,3 +121,5 @@ def InitAVSwitch():
config.av.wss.addNotifier(setWSS)
iAVSwitch.setInput("ENCODER") # init on startup
+ SystemInfo["ScartSwitch"] = eAVSwitch.getInstance().haveScartSwitch()
+