Files
jellyfin/MediaBrowser.Model
Sebas Koetsier 48b0029180 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
2026-04-18 15:38:17 +02:00
..
2021-10-26 13:56:30 +02:00
2020-02-23 12:11:43 +01:00
2025-05-04 08:40:34 -06:00
2025-03-25 16:45:00 +01:00
2025-01-25 20:05:15 -05:00
2026-02-15 11:28:42 +01:00
2025-03-31 17:46:21 -06:00
2026-01-27 11:13:32 +01:00
2020-08-20 15:17:42 +08:00
2026-03-24 22:23:48 -04:00
2022-12-05 15:00:20 +01:00
2026-01-14 18:55:47 +01:00