From 3f11b6682eca23f31180fdf1defed3117aef756f Mon Sep 17 00:00:00 2001 From: Barron Hagerman Date: Tue, 1 Oct 2019 11:34:31 -0500 Subject: [PATCH] expand zero compression to all POSTs --- NextPvr/LiveTvService.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/NextPvr/LiveTvService.cs b/NextPvr/LiveTvService.cs index 37f198a..c59a5df 100644 --- a/NextPvr/LiveTvService.cs +++ b/NextPvr/LiveTvService.cs @@ -325,7 +325,8 @@ namespace NextPvr var options = new HttpRequestOptions { CancellationToken = cancellationToken, - Url = string.Format("{0}/public/ScheduleService/Record?sid={1}", baseUrl, Sid) + Url = string.Format("{0}/public/ScheduleService/Record?sid={1}", baseUrl, Sid), + DecompressionMethod = CompressionMethod.None }; var timerSettings = await GetDefaultScheduleSettings(cancellationToken).ConfigureAwait(false); @@ -470,7 +471,8 @@ namespace NextPvr var options = new HttpRequestOptions { CancellationToken = cancellationToken, - Url = string.Format("{0}/public/ScheduleService/Record?sid={1}", baseUrl, Sid) + Url = string.Format("{0}/public/ScheduleService/Record?sid={1}", baseUrl, Sid), + DecompressionMethod = CompressionMethod.None }; var timerSettings = await GetDefaultScheduleSettings(cancellationToken).ConfigureAwait(false); @@ -551,7 +553,8 @@ namespace NextPvr var options = new HttpRequestOptions { CancellationToken = cancellationToken, - Url = string.Format("{0}/public/ScheduleService/UpdateRecurr?sid={1}", baseUrl, Sid) + Url = string.Format("{0}/public/ScheduleService/UpdateRecurr?sid={1}", baseUrl, Sid), + DecompressionMethod = CompressionMethod.None }; var timerSettings = await GetDefaultScheduleSettings(cancellationToken).ConfigureAwait(false); @@ -600,7 +603,8 @@ namespace NextPvr var options = new HttpRequestOptions { CancellationToken = cancellationToken, - Url = string.Format("{0}/public/ScheduleService/UpdateRec?sid={1}", baseUrl, Sid) + Url = string.Format("{0}/public/ScheduleService/UpdateRec?sid={1}", baseUrl, Sid), + DecompressionMethod = CompressionMethod.None }; var timerSettings = await GetDefaultScheduleSettings(cancellationToken).ConfigureAwait(false);