Skip to content

The Free Software Media System - Server Backend & API

Update StreamingHelpers.cs

BaronGreenback84da57cd4811
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs
index 6bc5524cba..e2306aa272 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)
{