Dispatcharr/apps
SergeantPanda 6d7130d71e Bug Fix: fix get_instance deadlock and non-atomic ownership acquisition
If ProxyServer() raises during singleton construction, _instance was left
as _INITIALIZING permanently, causing all subsequent get_instance() callers
to spin in an infinite gevent.sleep() loop. Wrap construction in try/except
and reset _instance to None on failure so callers can retry.

Also replace the non-atomic setnx() + expire() pair in try_acquire_ownership()
with a single atomic SET NX EX call, consistent with the approach already used
in extend_ownership() and eliminating the race window where a crash between the
two calls could leave a key with no TTL (permanent ownership lock).
2026-03-03 11:06:52 -06:00
..
accounts Migrations: Add missing migrations. 2026-02-26 13:25:51 -06:00
api initial connect feature 2026-02-08 09:29:22 -05:00
backups Fix #954: Superuser detection; Feature #1004: User account disable/enable 2026-02-22 18:05:02 -06:00
channels Bug Fix: Fix bug where attempting to schedule a one-time recording of a future program resulted in the recording starting immediately. 2026-02-18 16:25:33 -06:00
connect Migrations: Add missing migrations. 2026-02-26 13:25:51 -06:00
dashboard modified database fields for consistency, removed custom_url from streams (no longer needed) 2025-03-16 09:07:10 -04:00
epg Enhancement: Stats page "Now Playing" EPG lookup updated to use channel_uuids directly (the proxy stats already key active channels by UUID), removing the need for a UUID→integer ID conversion step introduced alongside the lazy channel-fetch refactor. Stream preview sessions (which use a content hash rather than a UUID as their channel ID) are now filtered out before any API call is made, preventing a backend ValidationError on both the current-programs and by-uuids endpoints when a stream preview is active on the Stats page. 2026-02-26 12:00:29 -06:00
hdhr - Swagger/OpenAPI Migration: Migrated from drf-yasg (OpenAPI 2.0) to drf-spectacular (OpenAPI 3.0) for API documentation. This provides: 2026-01-27 13:33:33 -06:00
m3u Merge pull request #1014 from CodeBormen/fix/861-M3U-downloading-endlessly 2026-02-24 14:28:36 -06:00
output Merge pull request #999 from firestaerter3:fix/xtream-added-field-type 2026-02-24 19:57:47 -06:00
plugins added event support to plugins 2026-02-11 19:50:11 -05:00
proxy Bug Fix: fix get_instance deadlock and non-atomic ownership acquisition 2026-03-03 11:06:52 -06:00
vod Bug Fix: Remove stale episode relations when series relations are deleted as well as remove episodes not seen in current series scan. 2026-02-24 18:32:48 -06:00