aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.MediaEncoding.Keyframes/FfProbe
diff options
context:
space:
mode:
authorzerafachris <christopher.zerafa@blocklabs.io>2026-09-01 16:25:59 +0200
committerzerafachris <christopher.zerafa@blocklabs.io>2026-09-01 16:25:59 +0200
commit20678c9a8c178657881565b7d4147896b604aa60 (patch)
tree0904c8cbff985084b4d19426b6078f55b4b853e8 /src/Jellyfin.MediaEncoding.Keyframes/FfProbe
parent4910aafa1a8227a65a037d3d2d299a32691e4de3 (diff)
fix: return fallback gracefully when requested fallback font is missing
GetFallbackFont() called .First() on the font file sequence, which throws System.InvalidOperationException when no file matched the requested name, causing HTTP 500. Change to .FirstOrDefault() so a missing font falls through to the existing null guard and returns HTTP 200 OK (the empty response is intentional to avoid breaking SubtitlesOctopus). Fixes #17683. Prepared with AI assistance (Claude Code, Anthropic), reviewed for correctness before submission. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/Jellyfin.MediaEncoding.Keyframes/FfProbe')
0 files changed, 0 insertions, 0 deletions