Sfoglia il codice sorgente

Update StreamingHelpers.cs

Updated condition
BaronGreenback 4 anni fa
parent
commit
84da57cd48
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  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)
                 {