Update Jellyfin.Api/Helpers/MediaInfoHelper.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
b90e240af6
commit
3a722740ce
|
@ -465,10 +465,10 @@ namespace Jellyfin.Api.Helpers
|
||||||
var profile = request.DeviceProfile;
|
var profile = request.DeviceProfile;
|
||||||
if (profile == null)
|
if (profile == null)
|
||||||
{
|
{
|
||||||
var caps = _deviceManager.GetCapabilities(authInfo.DeviceId);
|
var clientCapabilities = _deviceManager.GetCapabilities(authInfo.DeviceId);
|
||||||
if (caps != null)
|
if (clientCapabilities != null)
|
||||||
{
|
{
|
||||||
profile = caps.DeviceProfile;
|
profile = clientCapabilities.DeviceProfile;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user