X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/feba724e9e6b6f6a389530e3bb67132c0b56da1c..327ae996e0a3a685dff1663f600493e103adb098:/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
index 18b20f6e..f46b11c2 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
@@ -39,15 +39,15 @@ class VideoWizard(WizardLanguage):
-
-
-
+
+
+
-
-
-
-
+
+
+
+
""" % (resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Videomode/Scart.png"))
def __init__(self, session):
@@ -74,7 +74,9 @@ class VideoWizard(WizardLanguage):
return VideoWizardSummary
def markDone(self):
- pass
+ config.misc.videowizardenabled.value = 0
+ config.misc.videowizardenabled.save()
+ configfile.save()
def listInputChannels(self):
list = []
@@ -107,7 +109,7 @@ class VideoWizard(WizardLanguage):
list = []
print "modes for port", self.port
for mode in self.hw.getModeList(self.port):
- if mode[0] != "PC":
+ #if mode[0] != "PC":
list.append((mode[0], mode[0]))
print "modeslist:", list
return list
@@ -158,3 +160,16 @@ class VideoWizard(WizardLanguage):
config.misc.showtestcard.value = True
else:
config.misc.showtestcard.value = False
+
+ def keyNumberGlobal(self, number):
+ if number in [1,2,3]:
+ if number == 1:
+ self.hw.saveMode("DVI", "720p", "multi")
+ elif number == 2:
+ self.hw.saveMode("DVI", "1080i", "multi")
+ elif number == 3:
+ self.hw.saveMode("Scart", "Multi", "multi")
+ self.hw.setConfiguredMode()
+ self.close()
+
+ WizardLanguage.keyNumberGlobal(self, number)