Dispatcharr/frontend/src/utils
None cf3165ea88 fix(dvr): add DB retry resilience, fix recording card logos, prevent incorrect artwork
Add exponential backoff retry (_db_retry helper) for transient DB errors during final metadata save, startup recovery, and initial TS proxy
connection. Add FFmpeg remux retry for transient I/O errors. Retry same proxy base before falling back to next candidate on initial connection failure.

Fix DVR card logos not displaying: channel summary API returns logo_id (integer) but frontend expected a nested logo object with cache_url.

Add getChannelLogoUrl() helper that handles both data shapes. Backend artwork prefetch and run_recording now fall back to the channel's own logo when no show-specific artwork is found, ensuring poster_logo_id is always populated.

Prevent incorrect artwork by skipping external API searches (TVMaze, iTunes) when no program title is available - channel names like
"USA A&E SD*" returned unrelated results from fuzzy matching.

Add 13 tests for retry logic (test_dvr_retry.py)
2026-03-04 10:21:03 -06:00
..
__tests__ Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
cards fix(dvr): add DB retry resilience, fix recording card logos, prevent incorrect artwork 2026-03-04 10:21:03 -06:00
forms Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
pages fix(dvr): fix duplicate recording execution and add manual stop 2026-03-04 10:21:02 -06:00
cronUtils.js feat(scheduling): add cron builder and refactor scheduling components (Closes #165) 2026-02-12 18:08:13 -06:00
dateTimeUtils.js Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
networkUtils.js Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
notificationUtils.js Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00