mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
de-normalize item by name data. create counts during library scan for fast access.
This commit is contained in:
@@ -118,7 +118,7 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
return itemsList
|
||||
.Select(i => i.ProductionYear.Value)
|
||||
.Distinct()
|
||||
.Select(year => new IbnStub<Year>(year.ToString(UsCulture), () => itemsList.Where(i => i.ProductionYear.HasValue && i.ProductionYear.Value == year), GetEntity));
|
||||
.Select(year => new IbnStub<Year>(year.ToString(UsCulture), GetEntity));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user