From 757aee86f7f0cfe7508bf27998740f3a4661486c Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sun, 16 Sep 2007 12:24:05 +0000 Subject: [PATCH 1/1] show bandwitdt instead of symbolrate for DVB-T in scan --- lib/python/Components/ServiceScan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2