aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UniversalAudioController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-09-10 14:10:26 +0000
committerGitHub <noreply@github.com>2020-09-10 14:10:26 +0000
commit4447589460b00fc65acf1129c816ebeba9e87616 (patch)
tree6ded68d18452e6b71bd87a460e21ad46a94080cb /Jellyfin.Api/Controllers/UniversalAudioController.cs
parent621f3b705052f628e27fb975a8bb809853742ad8 (diff)
parentcb173d79e6f0c192be88eb6466d9cd52a9ee0e46 (diff)
Merge pull request #4116 from cvium/add_known_proxies
Add Known Proxies to system configuration
Diffstat (limited to 'Jellyfin.Api/Controllers/UniversalAudioController.cs')
-rw-r--r--Jellyfin.Api/Controllers/UniversalAudioController.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/UniversalAudioController.cs b/Jellyfin.Api/Controllers/UniversalAudioController.cs
index 6bbdbc613..99faa5ae4 100644
--- a/Jellyfin.Api/Controllers/UniversalAudioController.cs
+++ b/Jellyfin.Api/Controllers/UniversalAudioController.cs
@@ -8,6 +8,7 @@ using Jellyfin.Api.Attributes;
using Jellyfin.Api.Constants;
using Jellyfin.Api.Helpers;
using Jellyfin.Api.Models.StreamingDtos;
+using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller.Devices;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.MediaEncoding;
@@ -160,7 +161,7 @@ namespace Jellyfin.Api.Controllers
true,
true,
true,
- Request.HttpContext.Connection.RemoteIpAddress.ToString());
+ Request.HttpContext.GetNormalizedRemoteIp());
}
_mediaInfoHelper.SortMediaSources(info, maxStreamingBitrate);