X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0980594e3037839b361eae71646ccf960aaa2659..cd3cd96e2ff4c6e6a9a38393e4d93167d30f74ea:/lib/python/Components/Sources/FrontendStatus.py diff --git a/lib/python/Components/Sources/FrontendStatus.py b/lib/python/Components/Sources/FrontendStatus.py index 3e469e0d..5eb3445f 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: @@ -49,4 +50,5 @@ class FrontendStatus(Source): def destroy(self): self.poll_timer.callback.remove(self.updateFrontendStatus) + Source.destroy(self)