diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-05-20 23:47:19 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-05-20 23:47:19 +0000 |
| commit | 1995abf236d34dd3264435a35f2c9c128cf3afaa (patch) | |
| tree | d2ea40e72028a56303f93c686f1294691c75fd91 /lib/python/Components/Sources/FrontendStatus.py | |
| parent | 291c22bb4b7824dd9e4d9528b53172f913a8084a (diff) | |
| download | enigma2-1995abf236d34dd3264435a35f2c9c128cf3afaa.tar.gz enigma2-1995abf236d34dd3264435a35f2c9c128cf3afaa.zip | |
invent proper signalPowerdB enums and use them
Diffstat (limited to 'lib/python/Components/Sources/FrontendStatus.py')
| -rw-r--r-- | lib/python/Components/Sources/FrontendStatus.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Sources/FrontendStatus.py b/lib/python/Components/Sources/FrontendStatus.py index 60b70102..1af03f95 100644 --- a/lib/python/Components/Sources/FrontendStatus.py +++ b/lib/python/Components/Sources/FrontendStatus.py @@ -13,7 +13,7 @@ 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): status = self.getFrontendStatus() @@ -21,6 +21,7 @@ class FrontendStatus(Source): 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") |
