sync updates

This commit is contained in:
Luke Pulverenti
2015-03-29 23:04:55 -04:00
parent 7f537ad149
commit 0bd27381e0
5 changed files with 43 additions and 37 deletions

View File

@@ -51,11 +51,13 @@ namespace MediaBrowser.Server.Implementations.LiveTv
var response = await _httpClient.GetResponse(options).ConfigureAwait(false);
if (response.ContentType.StartsWith("image/", StringComparison.OrdinalIgnoreCase))
var contentType = response.ContentType;
if (contentType.StartsWith("image/", StringComparison.OrdinalIgnoreCase))
{
imageResponse.HasImage = true;
imageResponse.Stream = response.Content;
imageResponse.SetFormatFromMimeType(response.ContentType);
imageResponse.SetFormatFromMimeType(contentType);
}
else
{