mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-29 04:04:47 +03:00
Revert IsPlayed optimization, pass UserItemData to IsPlayed when available (#14786)
This commit is contained in:
@@ -542,7 +542,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
if (query.IsPlayed.HasValue)
|
||||
{
|
||||
userData ??= userDataManager.GetUserData(user, item);
|
||||
if (userData.Played != query.IsPlayed.Value)
|
||||
if (item.IsPlayed(user, userData) != query.IsPlayed.Value)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user