diff options
| author | Sebas Koetsier <sebas@koetsier.org> | 2026-04-18 15:38:17 +0200 |
|---|---|---|
| committer | Sebas Koetsier <sebas@koetsier.org> | 2026-04-18 15:38:17 +0200 |
| commit | 48b0029180d37cf20626ea2c19622db0d2b63278 (patch) | |
| tree | 40a34260e9c653455bd3ba89d98277d51d7f492d /tests/Jellyfin.MediaEncoding.Keyframes.Tests/Jellyfin.MediaEncoding.Keyframes.Tests.csproj | |
| parent | 946ff12185289b5dc38732497bb362aab7f192fe (diff) | |
fix: add image/jpg to MIME type extension lookup
Although image/jpg is not a registered MIME type (RFC 2046 specifies
image/jpeg), several external providers return image/jpg as the
Content-Type for JPEG images:
- TMDb API (thumbnail/episode images)
- Schedules Direct EPG
- Various other metadata providers
Without this mapping, Jellyfin throws ArgumentException:
'Unable to determine image file extension from mime type image/jpg'
This causes library scans to fail when saving episode thumbnails
and other images from these providers, leading to repeated scan
failures and cancelled library scans.
PR #7052 previously added this but it was lost during the migration
to FrozenDictionary. Issue #13568 reports the same bug in 10.10+.
Fixes: jellyfin/jellyfin#13568
Related: jellyfin/jellyfin#7050, jellyfin/jellyfin#7052
Diffstat (limited to 'tests/Jellyfin.MediaEncoding.Keyframes.Tests/Jellyfin.MediaEncoding.Keyframes.Tests.csproj')
0 files changed, 0 insertions, 0 deletions
