Update StreamingHelpers.cs

Updated condition
pull/5403/head
BaronGreenback 3 years ago committed by GitHub
parent 75c9659e05
commit 84da57cd48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -510,10 +510,7 @@ namespace Jellyfin.Api.Helpers
{ {
if (!string.IsNullOrWhiteSpace(deviceProfileId)) if (!string.IsNullOrWhiteSpace(deviceProfileId))
{ {
if (state.DeviceProfile == null) state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
{
state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
}
if (state.DeviceProfile == null) if (state.DeviceProfile == null)
{ {

Loading…
Cancel
Save