aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-04-10 13:12:24 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-04-10 13:12:24 +0000
commit8ad3d72d92a830d66a874ea56128c4a4e7b06ae0 (patch)
treee0f24b7b32be31855bb857dfb542ec677558a4c7 /lib/python/Plugins/SystemPlugins
parentb5257fa2543d9b0810ce25dcb07a8cadae0f83a0 (diff)
downloadenigma2-8ad3d72d92a830d66a874ea56128c4a4e7b06ae0.tar.gz
enigma2-8ad3d72d92a830d66a874ea56128c4a4e7b06ae0.zip
allow setting a videomode directly with 1(=720p),2(=1080i),3(=scart)
Diffstat (limited to 'lib/python/Plugins/SystemPlugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
index 18b20f6e..fb8f4016 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
+++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py
@@ -158,3 +158,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)