Update Jellyfin.Api/Helpers/MediaInfoHelper.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/3861/head
Cody Robibero 4 years ago committed by GitHub
parent b90e240af6
commit 3a722740ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -465,10 +465,10 @@ namespace Jellyfin.Api.Helpers
var profile = request.DeviceProfile;
if (profile == null)
{
var caps = _deviceManager.GetCapabilities(authInfo.DeviceId);
if (caps != null)
var clientCapabilities = _deviceManager.GetCapabilities(authInfo.DeviceId);
if (clientCapabilities != null)
{
profile = caps.DeviceProfile;
profile = clientCapabilities.DeviceProfile;
}
}

Loading…
Cancel
Save