mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
Renamed watched to played (since we support audio)
This commit is contained in:
parent
874469d476
commit
f392de9b69
@@ -130,5 +130,13 @@ namespace MediaBrowser.Model.Entities
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines if the item is considered new based on user settings
|
||||
/// </summary>
|
||||
public bool IsRecentlyAdded(User user)
|
||||
{
|
||||
return (DateTime.Now - DateCreated).TotalDays < user.RecentItemDays;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user