Explorar o código

Update StreamingHelpers.cs

Updated condition
BaronGreenback %!s(int64=4) %!d(string=hai) anos
pai
achega
84da57cd48
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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)
                 {