From 0c2eea9c07f4afb4ef1718116cc9dd6d7662b359 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 14 Nov 2016 14:26:51 -0500 Subject: [PATCH] update DirectRecorder --- .../LiveTv/EmbyTV/DirectRecorder.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs index 6bb06843a3..6d527c1cfb 100644 --- a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs +++ b/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs @@ -31,13 +31,12 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV public async Task Record(MediaSourceInfo mediaSource, string targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken) { - var httpRequestOptions = new HttpRequestOptions() + var httpRequestOptions = new HttpRequestOptions { - Url = mediaSource.Path + Url = mediaSource.Path, + BufferContent = false }; - httpRequestOptions.BufferContent = false; - using (var response = await _httpClient.SendAsync(httpRequestOptions, "GET").ConfigureAwait(false)) { _logger.Info("Opened recording stream from tuner provider");