The Free Software Media System - Server Backend & API
Update Jellyfin.Api/Helpers/MediaInfoHelper.cs
Cody Robibero3a722740ceb8
diff --git a/Jellyfin.Api/Helpers/MediaInfoHelper.cs b/Jellyfin.Api/Helpers/MediaInfoHelper.csindex e94109c917..d2d1855a4c 100644--- a/Jellyfin.Api/Helpers/MediaInfoHelper.cs+++ b/Jellyfin.Api/Helpers/MediaInfoHelper.cs@@ -465,10 +465,10 @@ namespace Jellyfin.Api.Helpersvar 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;}}