|
@@ -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
|