restore GetImageSize method

This commit is contained in:
Luke Pulverenti
2017-10-22 17:38:03 -04:00
parent f6df19ddf4
commit ac09136a3d
12 changed files with 57 additions and 2 deletions

View File

@@ -650,6 +650,9 @@ namespace Emby.Server.Implementations.LiveTv.Listings
bool enableRetry,
ListingsProviderInfo providerInfo)
{
// Schedules direct requires that the client support compression and will return a 400 response without it
options.EnableHttpCompression = true;
try
{
return await _httpClient.Post(options).ConfigureAwait(false);
@@ -678,6 +681,9 @@ namespace Emby.Server.Implementations.LiveTv.Listings
bool enableRetry,
ListingsProviderInfo providerInfo)
{
// Schedules direct requires that the client support compression and will return a 400 response without it
options.EnableHttpCompression = true;
try
{
return await _httpClient.SendAsync(options, "GET").ConfigureAwait(false);