aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-03-10 09:07:11 +0000
committerGitHub <noreply@github.com>2021-03-10 09:07:11 +0000
commit84da57cd4811d3bda6b3341c0a8a3b45b3aa72de (patch)
tree4dbc81d73283013a20c36d87f5c4f7a3fb2892a1
parent75c9659e05363f2e29e01757dc66f14f3f20f318 (diff)
Update StreamingHelpers.cs
Updated condition
-rw-r--r--Jellyfin.Api/Helpers/StreamingHelpers.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs
index 6bc5524cb..e2306aa27 100644
--- a/Jellyfin.Api/Helpers/StreamingHelpers.cs
+++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs
@@ -510,10 +510,7 @@ namespace Jellyfin.Api.Helpers
{
if (!string.IsNullOrWhiteSpace(deviceProfileId))
{
- if (state.DeviceProfile == null)
- {
- state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
- }
+ state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
if (state.DeviceProfile == null)
{