<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/Jellyfin.Server.Implementations/Item/BaseItemRepository.ByName.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-05T09:34:33Z</updated>
<entry>
<title>Fix by-name endpoints reporting TotalRecordCount=0 next to a populated Items array</title>
<updated>2026-08-05T09:34:33Z</updated>
<author>
<name>vdatanet</name>
<email>joan@vdata.net</email>
</author>
<published>2026-08-05T09:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=4adaf7f146ee895d714ae87af6858101bb10e505'/>
<id>urn:sha1:4adaf7f146ee895d714ae87af6858101bb10e505</id>
<content type='text'>
`GetItemValues` -- the shared path behind `/Artists`, `/AlbumArtists`, `/Genres`,
`/MusicGenres` and `/Studios` -- disabled the total record count whenever the
query carried no `Limit`:

    if (!filter.Limit.HasValue)
    {
        filter.EnableTotalRecordCount = false;
    }

A request without an explicit limit therefore came back with N entries in `Items`
and `TotalRecordCount = 0`. Clients that page on the reported total -- the
documented contract every other list endpoint honours -- read that as an empty
library. `/Items` and `/Persons` do not share this path and report the count
correctly, which is what makes the inconsistency visible from the outside.

Measured against master with a 62-track music library:

    GET /Artists?UserId=...              -&gt; TotalRecordCount=0  Items=5
    GET /Artists?UserId=...&amp;limit=100    -&gt; TotalRecordCount=5  Items=5

Dropping the block costs nothing: `representativeIds` is materialised into a
`List&lt;Guid&gt;` a few lines below regardless, so `.Count` was already available and
the count is now reported from it. Callers that genuinely want to skip the count
still can -- `EnableTotalRecordCount = false` is honoured as before.

The block also mutated the caller's own query object, so a query instance reused
across calls silently lost its total after the first limitless one. That is
covered by a test as well.
</content>
</entry>
<entry>
<title>Use DistinctBy where possible</title>
<updated>2026-07-26T07:56:49Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-07-26T07:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=f3a1d56c563c71573ed2e7681b347533897ee70c'/>
<id>urn:sha1:f3a1d56c563c71573ed2e7681b347533897ee70c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix favorite filter performance</title>
<updated>2026-07-25T17:09:39Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-07-24T20:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=766be1e8bb9f35009d81d1fe429ac7ee500bd688'/>
<id>urn:sha1:766be1e8bb9f35009d81d1fe429ac7ee500bd688</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce correlated subqueries to improve performance</title>
<updated>2026-07-23T18:50:06Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-07-23T09:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=9aa79682bab9a18f87b0c13c776a19e3eb357335'/>
<id>urn:sha1:9aa79682bab9a18f87b0c13c776a19e3eb357335</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: remove obsolete code</title>
<updated>2026-07-21T20:20:07Z</updated>
<author>
<name>TheMelmacian</name>
<email>76712303+TheMelmacian@users.noreply.github.com</email>
</author>
<published>2026-07-21T20:11:50Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=b317af0d307065d4657f8db4771ef89e36fdff10'/>
<id>urn:sha1:b317af0d307065d4657f8db4771ef89e36fdff10</id>
<content type='text'>
</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>Fix inaccessible artist when they exist in multiple libraries</title>
<updated>2026-05-30T05:31:29Z</updated>
<author>
<name>theguymadmax</name>
<email>theguymadmax@proton.me</email>
</author>
<published>2026-05-30T04:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=ad4e884d18abb84598e5561f68613576c0d5648a'/>
<id>urn:sha1:ad4e884d18abb84598e5561f68613576c0d5648a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preserve ordering in item values query</title>
<updated>2026-05-09T00:06:01Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-05-09T00:06:01Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=149649a6cf2e9a5a556bb170c4fe79c39769aa75'/>
<id>urn:sha1:149649a6cf2e9a5a556bb170c4fe79c39769aa75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use AsNoTracking() when only reading</title>
<updated>2026-04-26T16:53:17Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-04-26T15:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=d19449e6a5d66bc37ade831dd96a85152e98a533'/>
<id>urn:sha1:d19449e6a5d66bc37ade831dd96a85152e98a533</id>
<content type='text'>
</content>
</entry>
</feed>
