aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-01-25 02:13:55 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-01-25 02:13:55 +0000
commitcdda2f82a6097a8459767fe827796b86f6b02d70 (patch)
tree2eb163ae27284773b445780a29c4534f8b396ffe /lib/python
parentfbbbdedb44cccd9712152b82043e3936a8c9ad63 (diff)
downloadenigma2-cdda2f82a6097a8459767fe827796b86f6b02d70.tar.gz
enigma2-cdda2f82a6097a8459767fe827796b86f6b02d70.zip
better dvi rate selection (testing for 50 Hz)
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml43
1 files changed, 36 insertions, 7 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml
index bd714cef..852c48e0 100644
--- a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml
+++ b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml
@@ -49,7 +49,7 @@ self["rc"].startMoving()
<condition>
self.condition = (self.port == "DVI")
</condition>
- <text value="In the next step, the refresh rates are probed. Your screen can go black while probing.\nPlease press OK to begin." />
+ <text value="We will now test if your TV can also display this resolution at 50hz. If your screen goes black, wait 20 seconds and it will switch back to 60hz.\nPlease press OK to begin." />
<displaytext value="Please follow the instructions on the TV" />
<code>
self["arrowdown"].moveTo(557, 232, 1)
@@ -60,15 +60,14 @@ self["rc"].moveTo(500, 50, 1)
self["rc"].startMoving()
</code>
</step>
- <step id="dvirateselection" nextstep="end" timeout="10" timeoutaction="selectnext">
+ <step id="dvirateselection" timeout="10" timeoutaction="changestep" timeoutstep="notworking50Hz">
<condition>
self.condition = (self.port == "DVI")
</condition>
- <text value="The refresh rates are probed right now. If you can see this screen with 50 Hz selected, you should use this as the preferred option for best picture quality." />
- <displaytext value="Select video mode rate" />
- <list evaluation="rateSelectionMade" onselect="rateSelectionMoved">
- <listentry caption="50 Hz" step="50 Hz" />
- <listentry caption="60 Hz" step="60 Hz" />
+ <text value="If you can see this page, please press OK." />
+ <displaytext value="" />
+ <list>
+ <listentry caption="50 Hz" step="working50Hz" />
</list>
<code>
self["arrowdown"].moveTo(557, 232, 1)
@@ -79,6 +78,36 @@ self["rc"].moveTo(500, 50, 1)
self["rc"].startMoving()
</code>
</step>
+ <step id="notworking50Hz" nextstep="end">
+ <condition>
+self.condition = (self.port == "DVI")
+ </condition>
+ <text value="No 50 Hz, sorry. :(" />
+ <displaytext value="" />
+ <code>
+self["arrowdown"].moveTo(557, 232, 1)
+self["arrowdown"].startMoving()
+self["arrowup"].moveTo(800, 232, 1)
+self["arrowup"].startMoving()
+self["rc"].moveTo(500, 50, 1)
+self["rc"].startMoving()
+ </code>
+ </step>
+ <step id="working50Hz" nextstep="end" timeout="10" timeoutaction="nextstep">
+ <condition>
+self.condition = (self.port == "DVI")
+ </condition>
+ <text value="Your TV works with 50 Hz. Good!" />
+ <displaytext value="" />
+ <code>
+self["arrowdown"].moveTo(557, 232, 1)
+self["arrowdown"].startMoving()
+self["arrowup"].moveTo(800, 232, 1)
+self["arrowup"].startMoving()
+self["rc"].moveTo(500, 50, 1)
+self["rc"].startMoving()
+ </code>
+ </step>
<step id="end">
<text value="The input port should be configured now.\nYou can now configure the screen by displaying some test pictures. Do you want to do that now?" />
<displaytext value="No picture on TV? Press EXIT and retry." />