Răsfoiți Sursa

Update StreamingHelpers.cs

Updated condition
BaronGreenback 4 ani în urmă
părinte
comite
84da57cd48
1 a modificat fișierele cu 1 adăugiri și 4 ștergeri
  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)
                 {