<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/Jellyfin.Server.Implementations/Item, 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-10T20:46:31Z</updated>
<entry>
<title>Fix master build</title>
<updated>2026-08-10T20:46:31Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-08-10T20:46:31Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=26fbd1eac070af94030b196f3236aa936c60ce0d'/>
<id>urn:sha1:26fbd1eac070af94030b196f3236aa936c60ce0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #17576 from obiwantoby/perf/batch-mediasourcecount-dto</title>
<updated>2026-08-10T20:15:54Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2026-08-10T20:15:54Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=35e86416af32adaa220a241f756544cd316bd866'/>
<id>urn:sha1:35e86416af32adaa220a241f756544cd316bd866</id>
<content type='text'>
Bugfix: #17547 | Batching MediaSourceCount into one call</content>
</entry>
<entry>
<title>Merge pull request #17597 from theguymadmax/fix-people-filtering</title>
<updated>2026-08-10T20:14:19Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2026-08-10T20:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=c210ea87f26248e256ac1b88b1a00fd854642c5e'/>
<id>urn:sha1:c210ea87f26248e256ac1b88b1a00fd854642c5e</id>
<content type='text'>
Fix PersonTypes not applied when filtering by person</content>
</entry>
<entry>
<title>Merge pull request #17588 from TOomaAh/fix/is-airing-filter</title>
<updated>2026-08-10T20:11:30Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2026-08-10T20:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=0b77a520fa7fc2114ceed5625a770bc703842dd9'/>
<id>urn:sha1:0b77a520fa7fc2114ceed5625a770bc703842dd9</id>
<content type='text'>
fix: correct IsAiring negation to exclude airing items</content>
</entry>
<entry>
<title>Merge pull request #17563 from Shadowghost/cleanup-sql-helpers</title>
<updated>2026-08-10T20:10:00Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2026-08-10T20:10:00Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=7be16e9f74b1d240ecbfe81547c7a43c9345d737'/>
<id>urn:sha1:7be16e9f74b1d240ecbfe81547c7a43c9345d737</id>
<content type='text'>
Cleanup and simplify query helpers</content>
</entry>
<entry>
<title>Fix PersonTypes not applied when filtering by person</title>
<updated>2026-08-10T15:03:14Z</updated>
<author>
<name>theguymadmax</name>
<email>theguymadmax@proton.me</email>
</author>
<published>2026-08-10T15:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=f441c5f12519d6ad1af03de60ae5526b4ed4f99e'/>
<id>urn:sha1:f441c5f12519d6ad1af03de60ae5526b4ed4f99e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: correct IsAiring negation to exclude airing items</title>
<updated>2026-08-09T14:28:20Z</updated>
<author>
<name>TOomaAh</name>
<email>tbrunet72@gmail.com</email>
</author>
<published>2026-08-09T14:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=3031aa91ba2d2eac8161d6090b270239e696f5d5'/>
<id>urn:sha1:3031aa91ba2d2eac8161d6090b270239e696f5d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use WhereOneOrMany helper for the alternate version id filter</title>
<updated>2026-08-08T19:20:39Z</updated>
<author>
<name>brandon</name>
<email>brandon@clinger.dev</email>
</author>
<published>2026-08-08T19:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=505a6ebf8f4a36a2deb8e2a7cff3809643e8f654'/>
<id>urn:sha1:505a6ebf8f4a36a2deb8e2a7cff3809643e8f654</id>
<content type='text'>
Filter the parent ids with the WhereOneOrMany query helper instead of a
raw Contains so the id list is wrapped in EF.Parameter and EF Core reuses
one compiled query plan across calls, matching how the rest of the item
queries build their id filters.
</content>
</entry>
<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>
</feed>
