aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs
diff options
context:
space:
mode:
authorSebas Koetsier <sebas@koetsier.org>2026-04-18 15:38:17 +0200
committerSebas Koetsier <sebas@koetsier.org>2026-04-18 15:38:17 +0200
commit48b0029180d37cf20626ea2c19622db0d2b63278 (patch)
tree40a34260e9c653455bd3ba89d98277d51d7f492d /Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs
parent946ff12185289b5dc38732497bb362aab7f192fe (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 'Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs')
0 files changed, 0 insertions, 0 deletions