<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/MediaBrowser.Controller/Persistence, 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>Batch people lookups when building item DTOs</title>
<updated>2026-08-07T15:59:17Z</updated>
<author>
<name>brandon</name>
<email>brandon@clinger.dev</email>
</author>
<published>2026-08-07T15:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=d6da6906a4b3426f05c5bf4ffe8bab4b2bc78ce8'/>
<id>urn:sha1:d6da6906a4b3426f05c5bf4ffe8bab4b2bc78ce8</id>
<content type='text'>
GetBaseItemDtos already batch fetches user data, child counts, played counts
and artists before its per item loop, but AttachPeople still ran one GetPeople
query per item. Rendering a page of items (for example a large playlist) fired
one extra query per row.

Add GetPeopleByItems to IPeopleRepository, which reads every requested item in a
single query over the people mapping table and returns full PersonInfo (role,
type and sort order) grouped by item id. GetBaseItemDtos prefetches this once
when the People field is requested and passes it into AttachPeople, which reads
from the batch instead of querying per item. The single item GetBaseItemDto path
keeps its existing per item behaviour when no batch is supplied.

Adds a DtoService test asserting people resolve from the batch and the per item
GetPeople is never called.
</content>
</entry>
<entry>
<title>Fix more filter cases</title>
<updated>2026-07-29T07:35:20Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-07-29T07:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=d64e18b69a0a6089aab350f33464f362f09de942'/>
<id>urn:sha1:d64e18b69a0a6089aab350f33464f362f09de942</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix played/unplayed filter for empty Series and BoxSets</title>
<updated>2026-07-28T10:43:12Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-07-28T10:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=eed664b7d351ae9a22b0722b18d65dcff3fc185d'/>
<id>urn:sha1:eed664b7d351ae9a22b0722b18d65dcff3fc185d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #16980 from TheMelmacian/feature/library_specific_language_filter_values</title>
<updated>2026-07-22T00:43:31Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2026-07-22T00:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=526f4051e963548d7ab66dc8b30933a8ab260363'/>
<id>urn:sha1:526f4051e963548d7ab66dc8b30933a8ab260363</id>
<content type='text'>
Improve language filters to only fetch language codes that match the requested items/libraries (follow up to #9787)</content>
</entry>
<entry>
<title>Fix similarity (#16942)</title>
<updated>2026-05-31T15:21:15Z</updated>
<author>
<name>Tim Eisele</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-05-31T15:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=63d1af5fe7ed67d0e2e56c79ef518a7a87da782f'/>
<id>urn:sha1:63d1af5fe7ed67d0e2e56c79ef518a7a87da782f</id>
<content type='text'>
Fix similarity</content>
</entry>
<entry>
<title>only fetch language codes for the requested library when generating filter values</title>
<updated>2026-05-30T14:33:59Z</updated>
<author>
<name>TheMelmacian</name>
<email>76712303+TheMelmacian@users.noreply.github.com</email>
</author>
<published>2026-05-25T21:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=7939f3b009e830e38a3f37455418011043429ee3'/>
<id>urn:sha1:7939f3b009e830e38a3f37455418011043429ee3</id>
<content type='text'>
</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>Merge pull request #16856 from Shadowghost/movie-recommendations</title>
<updated>2026-05-27T18:59:18Z</updated>
<author>
<name>Bond-009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2026-05-27T18:59:18Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=2f17516d4bd8700e4a66f609b9c5fac835020407'/>
<id>urn:sha1:2f17516d4bd8700e4a66f609b9c5fac835020407</id>
<content type='text'>
Fix movie recommendations</content>
</entry>
</feed>
