diff options
| author | zerafachris <christopher.zerafa@blocklabs.io> | 2026-09-01 16:25:59 +0200 |
|---|---|---|
| committer | zerafachris <christopher.zerafa@blocklabs.io> | 2026-09-01 16:25:59 +0200 |
| commit | 20678c9a8c178657881565b7d4147896b604aa60 (patch) | |
| tree | 0904c8cbff985084b4d19426b6078f55b4b853e8 /src/Jellyfin.MediaEncoding.Keyframes | |
| parent | 4910aafa1a8227a65a037d3d2d299a32691e4de3 (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')
0 files changed, 0 insertions, 0 deletions
