mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +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. |
||
|---|---|---|
| .. | ||
| hls_proxy | ||
| management/commands | ||
| ts_proxy | ||
| vod_proxy | ||
| __init__.py | ||
| apps.py | ||
| config.py | ||
| signals.py | ||
| tasks.py | ||
| urls.py | ||
| views.py | ||