Update StreamingHelpers.cs

Updated condition
This commit is contained in:
BaronGreenback 2021-03-10 09:07:11 +00:00 committed by GitHub
parent 75c9659e05
commit 84da57cd48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -509,11 +509,8 @@ namespace Jellyfin.Api.Helpers
private static void ApplyDeviceProfileSettings(StreamState state, IDlnaManager dlnaManager, IDeviceManager deviceManager, HttpRequest request, string? deviceProfileId, bool? @static)
{
if (!string.IsNullOrWhiteSpace(deviceProfileId))
{
if (state.DeviceProfile == null)
{
state.DeviceProfile = dlnaManager.GetProfile(deviceProfileId);
}
if (state.DeviceProfile == null)
{