X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b9bda8a0d43be892f2e5d96ea45ba8d4b2fdae20..eca375cca394a4f593cb45e8fa7534620b157aec:/lib/python/Components/Sources/FrontendStatus.py diff --git a/lib/python/Components/Sources/FrontendStatus.py b/lib/python/Components/Sources/FrontendStatus.py index d9311771..1af03f95 100644 --- a/lib/python/Components/Sources/FrontendStatus.py +++ b/lib/python/Components/Sources/FrontendStatus.py @@ -13,15 +13,15 @@ class FrontendStatus(Source): self.poll_timer.start(1000) def invalidate(self): - self.snr = self.agc = self.ber = self.lock = None + self.snr = self.agc = self.ber = self.lock = self.snr_db = None def updateFrontendStatus(self): - print "updateFrontendStatus" status = self.getFrontendStatus() if not status: self.invalidate() else: self.snr = status.get("tuner_signal_power") + self.snr_db = status.get("tuner_signal_power_db") self.agc = status.get("tuner_signal_quality") self.ber = status.get("tuner_bit_error_rate") self.lock = status.get("tuner_locked")