diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2021-03-10 09:07:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 09:07:11 +0000 |
| commit | 84da57cd4811d3bda6b3341c0a8a3b45b3aa72de (patch) | |
| tree | 4dbc81d73283013a20c36d87f5c4f7a3fb2892a1 /Jellyfin.Api/Helpers/StreamingHelpers.cs | |
| parent | 75c9659e05363f2e29e01757dc66f14f3f20f318 (diff) | |
Update StreamingHelpers.cs
Updated condition
Diffstat (limited to 'Jellyfin.Api/Helpers/StreamingHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index 6bc5524cb..e2306aa27 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) { |
