pull/12775/merge
joshjryan 3 weeks ago committed by GitHub
commit 0eb3e618d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -102,9 +102,8 @@ namespace Jellyfin.LiveTv.TunerHosts
{
try
{
using var message = new HttpRequestMessage(HttpMethod.Head, mediaSource.Path);
using var response = await _httpClientFactory.CreateClient(NamedClient.Default)
.SendAsync(message, cancellationToken)
.GetAsync(mediaSource.Path, HttpCompletionOption.ResponseHeadersRead, cancellationToken)
.ConfigureAwait(false);
if (response.IsSuccessStatusCode)

Loading…
Cancel
Save