From: Andreas Monzner Date: Sun, 16 Sep 2007 12:24:05 +0000 (+0000) Subject: show bandwitdt instead of symbolrate for DVB-T in scan X-Git-Tag: 2.6.0~1906 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/757aee86f7f0cfe7508bf27998740f3a4661486c?hp=c5afe0ab193a91941c62aaa1c41b4379e2e6504c show bandwitdt instead of symbolrate for DVB-T in scan --- diff --git a/lib/python/Components/ServiceScan.py b/lib/python/Components/ServiceScan.py index ebd623e9..15b71176 100644 --- a/lib/python/Components/ServiceScan.py +++ b/lib/python/Components/ServiceScan.py @@ -78,9 +78,9 @@ class ServiceScan: tp = transponder.getDVBT() if not tp[0]: tp = tp[1] - tp_text = ("DVB-T %s %d / %d") %( { 0 : "QPSK", 1 : "QAM16", 2 : "QAM64", 3 : "AUTO"}[tp.modulation], + tp_text = ("DVB-T %s %d %s") %( { 0 : "QPSK", 1 : "QAM16", 2 : "QAM64", 3 : "AUTO"}[tp.modulation], tp.frequency, - tp.symbol_rate/1000) + { 0 : "Bw 8MHz", 1 : "Bw 7MHz", 2 : "Bw 6MHz", 3 : "Bw Auto" }[tp.bandwidth]) else: print "unknown transponder type in scanStatusChanged" self.network.setText(network)