X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/bcbd5801c2be23b2ee1a22e7b088fc2fb654f1c9..bf2f4196dede42bb8b5b8168a85a60498a3d630f:/lib/python/Components/Sources/FrontendStatus.py diff --git a/lib/python/Components/Sources/FrontendStatus.py b/lib/python/Components/Sources/FrontendStatus.py index 821c9f12..8f1b36dc 100644 --- a/lib/python/Components/Sources/FrontendStatus.py +++ b/lib/python/Components/Sources/FrontendStatus.py @@ -10,7 +10,7 @@ class FrontendStatus(Source): self.invalidate() self.poll_timer = eTimer() self.poll_timer.callback.append(self.updateFrontendStatus) - self.poll_timer.start(update_interval) + self.poll_timer.start(update_interval, True) def invalidate(self): self.snr = self.agc = self.ber = self.lock = self.snr_db = None @@ -26,6 +26,7 @@ class FrontendStatus(Source): self.ber = status.get("tuner_bit_error_rate") self.lock = status.get("tuner_locked") self.changed((self.CHANGED_ALL, )) + self.poll_timer.start(self.update_interval, True) def getFrontendStatus(self): if self.frontend_source: @@ -45,7 +46,7 @@ class FrontendStatus(Source): if suspended: self.poll_timer.stop() else: - self.poll_timer.start(self.update_interval) + self.updateFrontendStatus() def destroy(self): self.poll_timer.callback.remove(self.updateFrontendStatus)