浏览代码

Update Jellyfin.Api/Helpers/MediaInfoHelper.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Cody Robibero 4 年之前
父节点
当前提交
3a722740ce
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Jellyfin.Api/Helpers/MediaInfoHelper.cs

+ 3 - 3
Jellyfin.Api/Helpers/MediaInfoHelper.cs

@@ -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;
                 }
             }