Dispatcharr/apps/epg
SergeantPanda 6bf126d432 feat(epg): Enhance Schedules Direct token management and request handling
This commit introduces a new `sd_authorized_request` function to streamline authenticated API requests to Schedules Direct. It handles token expiration by clearing the cached token and retrying the request with a fresh token when necessary. Additionally, the `sd_obtain_token` function has been updated to reuse cached tokens when valid, improving efficiency. The changes are accompanied by unit tests to ensure correct behavior during token reuse and request retries, enhancing the overall reliability of the Schedules Direct integration.
2026-07-23 19:42:12 +00:00
..
migrations refactor(epg): separate programme index into dedicated table for optimized data handling 2026-06-23 15:10:27 -05:00
tests feat(epg): Enhance Schedules Direct token management and request handling 2026-07-23 19:42:12 +00:00
__init__.py Initial commit 2025-02-18 11:14:09 -06:00
admin.py modified database fields for consistency, removed custom_url from streams (no longer needed) 2025-03-16 09:07:10 -04:00
api_urls.py fix(epg): fix and clean up EPG program search API and tests 2026-04-24 14:37:12 -05:00
api_views.py refactor(epg): Separate Schedules Direct functionality into dedicated modules 2026-07-21 14:56:31 +00:00
apps.py Revert unintended whitespace changes in apps.py and Channel.jsx 2026-05-31 17:13:11 +02:00
models.py feat(epg): add native xz decompression support for EPG sources 2026-07-07 19:48:44 -05:00
query_utils.py feat: Enhance series rule evaluation and management 2026-05-04 20:45:40 -05:00
sd_api.py feat(epg): Enhance Schedules Direct token management and request handling 2026-07-23 19:42:12 +00:00
sd_tasks.py feat(epg): Enhance Schedules Direct token management and request handling 2026-07-23 19:42:12 +00:00
sd_utils.py feat(epg): Enhance Schedules Direct token management and request handling 2026-07-23 19:42:12 +00:00
serializers.py feat(epg): Enhance Schedules Direct poster handling with caching and proxy improvements 2026-07-21 18:37:57 +00:00
signals.py feat(epg): add Schedules Direct API integration 2026-05-17 04:52:07 +00:00
tasks.py refactor(epg): Centralize WebSocket progress updates in utils and clean up imports 2026-07-21 14:59:02 +00:00
urls.py Pre-Alpha v4 2025-02-24 15:04:03 -06:00
utils.py feat(epg): Enhance Schedules Direct poster handling with caching and proxy improvements 2026-07-21 18:37:57 +00:00
views.py Pre-Alpha v4 2025-02-24 15:04:03 -06:00