mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-20 16:51:10 +00:00
When previewing a stream directly (via stream hash), the cleanup in stream_generator.py tried Channel.objects.get(uuid=stream_hash) which failed with ValidationError since the hash is not a UUID. This prevented release_stream() from running, permanently leaking the connection counter. With max_streams=1, a single preview permanently blocked all subsequent streams. Added Stream.objects.get(stream_hash=...) fallback so the cleanup path works for both Channel (UUID) and Stream (hash) identifiers. Also added Stream import to stream_generator.py. |
||
|---|---|---|
| .. | ||
| services | ||
| __init__.py | ||
| apps.py | ||
| channel_status.py | ||
| client_manager.py | ||
| config_helper.py | ||
| constants.py | ||
| http_streamer.py | ||
| redis_keys.py | ||
| server.py | ||
| stream_buffer.py | ||
| stream_generator.py | ||
| stream_manager.py | ||
| url_utils.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||