<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/MediaBrowser.Controller/Persistence/ILinkedChildrenService.cs, branch v12.0-rc5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.b0n.dev/jellyfin/atom?h=v12.0-rc5</id>
<link rel='self' href='https://git.b0n.dev/jellyfin/atom?h=v12.0-rc5'/>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/'/>
<updated>2026-08-08T16:33:11Z</updated>
<entry>
<title>Address review on MediaSourceCount batching</title>
<updated>2026-08-08T16:33:11Z</updated>
<author>
<name>brandon</name>
<email>brandon@clinger.dev</email>
</author>
<published>2026-08-08T16:33:11Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=10d108a1f453c0972b3059e10bb9b13bbcb34f63'/>
<id>urn:sha1:10d108a1f453c0972b3059e10bb9b13bbcb34f63</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Batch alternate version detection in DtoService to remove MediaSourceCount N+1</title>
<updated>2026-08-08T02:51:45Z</updated>
<author>
<name>brandon</name>
<email>brandon@clinger.dev</email>
</author>
<published>2026-08-08T02:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=c091ffdc6b2d8d4dd6f439d056c561bae7bd9a18'/>
<id>urn:sha1:c091ffdc6b2d8d4dd6f439d056c561bae7bd9a18</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add a collection API for `Included In` feature (#15516)</title>
<updated>2026-05-29T18:00:34Z</updated>
<author>
<name>Sam Xie</name>
<email>sam@samxie.me</email>
</author>
<published>2026-05-29T18:00:34Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=c9f71d8531d946f04d5395bd885f08128253559c'/>
<id>urn:sha1:c9f71d8531d946f04d5395bd885f08128253559c</id>
<content type='text'>
Add a collection API for `Included In` feature</content>
</entry>
<entry>
<title>Split BaseItemRepository and IItemRepository</title>
<updated>2026-03-07T19:12:42Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-03-07T19:12:42Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=077fa89717957f871b172ca4b2dc4a178efd3bc5'/>
<id>urn:sha1:077fa89717957f871b172ca4b2dc4a178efd3bc5</id>
<content type='text'>
</content>
</entry>
</feed>
