| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-08-08 | Address review on MediaSourceCount batching | brandon | |
| Rename GetItemsWithAlternateVersions to GetItemIdsWithAlternateVersions across the interfaces and implementations since it returns ids. Return the hashset straight from the query instead of materializing an array first. Rename the DtoService guard to mayHaveAlternateVersions and invert it so the computed path is the explicit case. Assert the media source count value in the batch skip test and add a test covering an item that is in the returned set still resolving to the correct count. | |||
| 2026-08-07 | Batch alternate version detection in DtoService to remove MediaSourceCount N+1 | brandon | |
| Browsing a page of videos with the MediaSourceCount field ran one alternate version query per item, each opening a fresh DbContext. On a large library that turned a single page into hundreds of sequential round trips and made the Items endpoint take tens of seconds while holding a request thread the whole time. Detect which videos own alternate versions once per page with a single query, mirroring the existing people batch. Videos absent from that set have a single media source, so the per item lookups are skipped for the common case. Behavior is unchanged: a video with no alternates already resolved to a count of one. Adds a regression test asserting the count resolves from the batch and the per item lookups are never called. | |||
| 2026-05-29 | Add a collection API for `Included In` feature (#15516) | Sam Xie | |
| Add a collection API for `Included In` feature | |||
| 2026-03-07 | Split BaseItemRepository and IItemRepository | Shadowghost | |
