aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/AudioHelper.cs
diff options
context:
space:
mode:
authorSenorSmartyPants <senorsmartypants@gmail.com>2022-01-07 18:21:48 -0600
committerSenorSmartyPants <senorsmartypants@gmail.com>2022-01-07 18:21:48 -0600
commit3ea54a8009617998e7250a39e33a9da3440a9631 (patch)
tree1335a6b4d4df59e08ffd0c490b72d39674b9102e /Jellyfin.Api/Helpers/AudioHelper.cs
parentbd2bec4d4aedb1e39082d51abd75797eaf42b28a (diff)
Remove isHeadRequest from GetStaticFile method signatures
Diffstat (limited to 'Jellyfin.Api/Helpers/AudioHelper.cs')
-rw-r--r--Jellyfin.Api/Helpers/AudioHelper.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Api/Helpers/AudioHelper.cs b/Jellyfin.Api/Helpers/AudioHelper.cs
index bec961dad..b831e8130 100644
--- a/Jellyfin.Api/Helpers/AudioHelper.cs
+++ b/Jellyfin.Api/Helpers/AudioHelper.cs
@@ -138,7 +138,7 @@ namespace Jellyfin.Api.Helpers
StreamingHelpers.AddDlnaHeaders(state, _httpContextAccessor.HttpContext.Response.Headers, true, streamingRequest.StartTimeTicks, _httpContextAccessor.HttpContext.Request, _dlnaManager);
var httpClient = _httpClientFactory.CreateClient(NamedClient.Default);
- return await FileStreamResponseHelpers.GetStaticRemoteStreamResult(state, isHeadRequest, httpClient, _httpContextAccessor.HttpContext).ConfigureAwait(false);
+ return await FileStreamResponseHelpers.GetStaticRemoteStreamResult(state, httpClient, _httpContextAccessor.HttpContext).ConfigureAwait(false);
}
if (streamingRequest.Static && state.InputProtocol != MediaProtocol.File)
@@ -168,7 +168,6 @@ namespace Jellyfin.Api.Helpers
return FileStreamResponseHelpers.GetStaticFileResult(
state.MediaPath,
contentType,
- isHeadRequest,
_httpContextAccessor.HttpContext);
}