diff options
| author | crobibero <cody@robibe.ro> | 2020-09-01 07:51:06 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-01 07:51:06 -0600 |
| commit | 4038d15c83da055add3cc78df46969f82ee66d1b (patch) | |
| tree | 00c80a2509fc2a5fb476e170ca408763c390ddc9 /Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs | |
| parent | 8d592777c4585058945a9a52d159346384445892 (diff) | |
Properly migrate all HttpCompletionOption
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs index 377292cab..a1037948b 100644 --- a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs +++ b/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs @@ -64,7 +64,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV private async Task RecordFromMediaSource(MediaSourceInfo mediaSource, string targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken) { using var response = await _httpClientFactory.CreateClient(NamedClient.Default) - .GetAsync(mediaSource.Path, cancellationToken).ConfigureAwait(false); + .GetAsync(mediaSource.Path, HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); _logger.LogInformation("Opened recording stream from tuner provider"); |
