aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py
diff options
context:
space:
mode:
authorStefan <stefan@tuxboxls.(none)>2008-12-16 19:34:25 +0100
committerStefan <stefan@tuxboxls.(none)>2008-12-16 19:55:35 +0100
commitc58fda6723e55fb47af610a17377279247d2f0b6 (patch)
tree4302535dab54af0f4dcdd8a6550fd3fbaded9180 /lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py
parent3d3fb340f73559bde24e757f292632bb5208b009 (diff)
downloadenigma2-c58fda6723e55fb47af610a17377279247d2f0b6.tar.gz
enigma2-c58fda6723e55fb47af610a17377279247d2f0b6.zip
show transponders in diseqc tester results
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py b/lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py
index f997acd1..5779b3b0 100644
--- a/lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/DiseqcTester/plugin.py
@@ -58,6 +58,27 @@ class ResultParser:
for reason in reasons.keys():
text += "%s: %d transponders failed\n" % (reason, len(reasons[reason]))
+
+ for reason in reasons.keys():
+ text += "\n"
+ text += "%s previous planes:\n" % reason
+ for transponder in reasons[reason]:
+ if transponder[1] is not None:
+ text += self.getTextualIndexRepresentation(self.getIndexForTransponder(transponder[1]))
+ else:
+ text += "No transponder tuned"
+ text += " ==> " + self.getTextualIndexRepresentation(self.getIndexForTransponder(transponder[0]))
+ text += "\n"
+ if countsuccessful > 0:
+ text += "\n"
+ text += "Successfully tuned transponders' previous planes:\n"
+ for transponder in successful:
+ if transponder[1] is not None:
+ text += self.getTextualIndexRepresentation(self.getIndexForTransponder(transponder[1]))
+ else:
+ text += "No transponder tuned"
+ text += " ==> " + self.getTextualIndexRepresentation(self.getIndexForTransponder(transponder[0]))
+ text += "\n"
return text
def getTextualResult(self):