aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2020-08-19 04:53:25 -0600
committerGitHub <noreply@github.com>2020-08-19 04:53:25 -0600
commit3a722740ceb83d796a7111ae40b2b67d6a313465 (patch)
tree2cbb26e1d399e6b542af748715bbe3bee8464dc3
parentb90e240af649b1cf2ad72318e985755514b893c3 (diff)
Update Jellyfin.Api/Helpers/MediaInfoHelper.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
-rw-r--r--Jellyfin.Api/Helpers/MediaInfoHelper.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Api/Helpers/MediaInfoHelper.cs b/Jellyfin.Api/Helpers/MediaInfoHelper.cs
index e94109c91..d2d1855a4 100644
--- a/Jellyfin.Api/Helpers/MediaInfoHelper.cs
+++ b/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;
}
}