mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 04:48:27 +01: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