aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/PlayCountComparer.cs
diff options
context:
space:
mode:
authorTim Eisele <Ghost_of_Stone@web.de>2025-05-09 16:35:29 +0200
committerGitHub <noreply@github.com>2025-05-09 08:35:29 -0600
commit49c6a99e00d5bef49c4154a5a9500f39b84cc32e (patch)
tree08ea1b57c675168489490436367459eb8dd3fcd5 /Emby.Server.Implementations/Sorting/PlayCountComparer.cs
parent07093c84c80474c610d955ad24f7e9b415458bb6 (diff)
Cleanup external item data cleanup (#14072)
Diffstat (limited to 'Emby.Server.Implementations/Sorting/PlayCountComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/PlayCountComparer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Sorting/PlayCountComparer.cs b/Emby.Server.Implementations/Sorting/PlayCountComparer.cs
index dd2149b57..26e28b03b 100644
--- a/Emby.Server.Implementations/Sorting/PlayCountComparer.cs
+++ b/Emby.Server.Implementations/Sorting/PlayCountComparer.cs
@@ -27,10 +27,10 @@ namespace Emby.Server.Implementations.Sorting
public ItemSortBy Type => ItemSortBy.PlayCount;
/// <summary>
- /// Gets or sets the user data repository.
+ /// Gets or sets the user data manager.
/// </summary>
- /// <value>The user data repository.</value>
- public IUserDataManager UserDataRepository { get; set; }
+ /// <value>The user data manager.</value>
+ public IUserDataManager UserDataManager { get; set; }
/// <summary>
/// Gets or sets the user manager.
@@ -56,7 +56,7 @@ namespace Emby.Server.Implementations.Sorting
/// <returns>DateTime.</returns>
private int GetValue(BaseItem x)
{
- var userdata = UserDataRepository.GetUserData(User, x);
+ var userdata = UserDataManager.GetUserData(User, x);
return userdata is null ? 0 : userdata.PlayCount;
}