jellyfin/Emby.Server.Implementations
brandon d6da6906a4 Batch people lookups when building item DTOs
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.
2026-08-07 11:59:17 -04:00
..
AppBase
Branding
Chapters
Collections
Configuration
Cryptography
Data
Devices Add XML docs to DeviceId and remove CS1591 suppression 2026-07-15 11:58:29 +02:00
Dto Batch people lookups when building item DTOs 2026-08-07 11:59:17 -04:00
EntryPoints
HttpServer Close sessions for lost WebSockets to prevent zombie SyncPlay groups (#17079) 2026-07-02 19:36:48 +02:00
Images Restore music collection image override 2026-07-07 10:24:18 -04:00
IO Fix ghost entries when deleting library paths 2026-07-03 14:12:56 -04:00
Library Batch people lookups when building item DTOs 2026-08-07 11:59:17 -04:00
Localization Translated using Weblate (Lithuanian) 2026-08-07 11:11:10 +00:00
Playlists Allow duplicate LinkedChildren for Playlists 2026-07-23 13:41:51 +02:00
Plugins
Properties
QuickConnect
ScheduledTasks Fix potential garbled text in FFmpeg logs on Windows 2026-07-10 14:46:27 +08:00
Serialization
Session Degrade ForceKeepAlive logs to debug 2026-08-03 21:30:22 +02:00
Sorting Merge pull request #17399 from Shadowghost/fix-extra-year 2026-07-25 12:52:51 -04:00
SyncPlay
TV Fix review comments 2026-07-02 08:49:11 +02:00
Updates Address PR comment 2026-06-06 21:55:30 -07:00
ApplicationHost.cs Merge pull request #17298 from WizardOfYendor1/fix/livetv-published-stream-urls 2026-08-02 14:23:49 -04:00
ConfigurationOptions.cs
Emby.Server.Implementations.csproj
IStartupOptions.cs
ServerApplicationPaths.cs
SystemManager.cs