Explorar o código

Update Jellyfin.Api/Helpers/MediaInfoHelper.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Cody Robibero %!s(int64=4) %!d(string=hai) anos
pai
achega
3a722740ce
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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;
                 }
             }