diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-14 15:17:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-14 15:17:32 -0500 |
| commit | 588c06fca037b6656d7b734b47f709a0e078ce41 (patch) | |
| tree | 1b100efe0eac4e8a1d26baada0045acedc5b3c33 /Emby.Server.Implementations | |
| parent | 71c425a9d3b898999ab898a16c5e78b43fd034c9 (diff) | |
| parent | 420fa8bf7fc3b656207fcc9d41d11ab7d4d906d0 (diff) | |
Merge pull request #2289 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs index 6bb06843a..6d527c1cf 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"); |
