MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / start

Method start

core/utils.py:365–373  ·  view source on GitHub ↗

Start the background renewal thread.

(self)

Source from the content-addressed store, hash-verified

363 logger.error(f"Error renewing lock {self.lock_id}: {e}")
364
365 def start(self):
366 """Start the background renewal thread."""
367 self._stop_event.clear()
368 self._thread = threading.Thread(
369 target=self._renew_loop, daemon=True,
370 name=f"lock-renew-{self.task_name}-{self.id}"
371 )
372 self._thread.start()
373 return self
374
375 def stop(self):
376 """Stop the renewal thread."""

Callers 10

__enter__Method · 0.95
refresh_m3u_groupsFunction · 0.95
refresh_epg_dataFunction · 0.95
fetch_sd_guide_for_epgFunction · 0.95
seekToStartFunction · 0.45
start_listeningMethod · 0.45
environmentFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected