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

Method enable_cleanup

apps/proxy/hls_proxy/server.py:296–300  ·  view source on GitHub ↗

Enable cleanup after first client connects

(self)

Source from the content-addressed store, hash-verified

294 logging.info(f"Stream manager stopped for channel {self.channel_id}")
295
296 def enable_cleanup(self):
297 """Enable cleanup after first client connects"""
298 if not self.first_client_connected:
299 self.first_client_connected = True
300 logging.info(f"First client connected to channel {self.channel_id}")
301
302 def start_cleanup_thread(self):
303 """Start background thread for client activity monitoring"""

Callers 1

stream_endpointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected