Browse Source

Update StreamingHelpers.cs

Updated condition
BaronGreenback 4 years ago
parent
commit
84da57cd48
1 changed files with 1 additions and 4 deletions
  1. 1 4
      Jellyfin.Api/Helpers/StreamingHelpers.cs

+ 1 - 4
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)
                 {