mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Update Jellyfin.Api/Helpers/MediaInfoHelper.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user