mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #7521] Add fallback for image downloads with bad reported MediaType #11437
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/7521
State: closed
Merged: Yes
ImageSaverusescontentTypeto determine the file extension to use when saving the image.Some IPTV/EPG providers serve images that report as types that don't map to extensions (such as
binary/octet-stream), resulting in no channel icon and logged exceptions every time one is downloaded and can't be saved.This may be a more general fix for the tvheadend workaround on line 177, but I have been unable to reproduce that case on my dev machine to verify.
Changes