mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
fixed no channel icons when using tvheadend (#5996)
Co-authored-by: Cody Robibero <cody@robibe.ro> Co-authored-by: Maximilian Wehrstedt <wehrstedt.coding@outlook.de>
This commit is contained in:
parent
4b31c007e3
commit
ad1d9d9a23
@ -167,7 +167,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
throw new HttpRequestException("Invalid image received.", null, response.StatusCode);
|
||||
}
|
||||
|
||||
var contentType = response.Content.Headers.ContentType.MediaType;
|
||||
var contentType = response.Content.Headers.ContentType?.MediaType;
|
||||
|
||||
// Workaround for tvheadend channel icons
|
||||
// TODO: Isolate this hack into the tvh plugin
|
||||
|
Loading…
x
Reference in New Issue
Block a user