aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-08-10Update MediaBrowser.Controller/Drawing/ImageHelper.csCody Robibero
Co-authored-by: Tim Eisele <Tim_Eisele@web.de>
2026-08-10Merge pull request #17563 from Shadowghost/cleanup-sql-helpersCody Robibero
Cleanup and simplify query helpers
2026-08-10Fix PersonTypes not applied when filtering by persontheguymadmax
2026-08-10Translated using Weblate (Vietnamese)hoanghuy309
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2026-08-10Translated using Weblate (Portuguese)Kiki
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt/
2026-08-10Translated using Weblate (Russian)Dan Tsivinsky
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2026-08-09fix: bound remote provider paginationTOomaAh
2026-08-09fix: correct IsAiring negation to exclude airing itemsTOomaAh
2026-08-08Translated using Weblate (Lithuanian)Vitalijus
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2026-08-08Translated using Weblate (Portuguese (Brazil))Doougfoks
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2026-08-08Use WhereOneOrMany helper for the alternate version id filterbrandon
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.
2026-08-08Safeguard against invalid provider idsShadowghost
2026-08-08Address review on MediaSourceCount batchingbrandon
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.
2026-08-08Fix bump_version scriptShadowghost
2026-08-08Fix assembliesShadowghost
2026-08-08Translated using Weblate (Turkish)queeup
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2026-08-08Translated using Weblate (Basque)Thadah D. Denyse
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/eu/
2026-08-08Translated using Weblate (Vietnamese)hoanghuy309
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/vi/
2026-08-08Translated using Weblate (Turkish)queeup
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2026-08-08Fix missing ItemRemoved events and search fallback after access filteringShadowghost
2026-08-07Batch alternate version detection in DtoService to remove MediaSourceCount N+1brandon
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.
2026-08-07Merge pull request #17560 from IDisposable/chore/pessimistic-reality-checkCody Robibero
Add warning that PessimisticLockBehavior is unsafe
2026-08-07Merge pull request #17571 from obiwantoby/perf/batch-people-dtoCody Robibero
Batch people lookups when building item DTOs
2026-08-07Merge pull request #17492 from GOvEy1nw/fix/image-cache-overlay-keyCody Robibero
fix(images): disambiguate progress overlay cache keys
2026-08-07Merge pull request #17541 from vdatanet/fix/byname-total-record-countCody Robibero
Fix by-name endpoints reporting TotalRecordCount=0 next to a populated Items array
2026-08-07Merge pull request #17525 from rlauuzo/masterCody Robibero
Clear metadata provider cache when provider parts are registered
2026-08-07Merge pull request #17555 from IDisposable/fix/reorder-update-itemsCody Robibero
Delete old related info in bulk as late as possible in UpdateOrInsertItems
2026-08-07Merge pull request #17521 from Shadowghost/fix-plugin-disableCody Robibero
Fix disabled plugins being re-enabled on restart
2026-08-07Merge pull request #17559 from IDisposable/fix/optimistic-lock-behaviorCody Robibero
Fix captured (and discarded) Execute exceptions
2026-08-07Merge pull request #17554 from IDisposable/fix/faster-update-itemsCody Robibero
Speed up UpdateOrInsertItems for related information
2026-08-07Merge pull request #17558 from IDisposable/fix/set-cache-to-privateCody Robibero
Switch SQLite connection Cache to Private
2026-08-08Translated using Weblate (Turkish)queeup
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2026-08-08Translated using Weblate (Lithuanian)Vitalijus
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2026-08-07Merge pull request #17536 from gnattu/fix-concurrent-racingCody Robibero
Fix concurrent ffmpeg segment racing
2026-08-07Translated using Weblate (Lithuanian)Vitalijus
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2026-08-07Translated using Weblate (Lithuanian)Vitalijus
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2026-08-07Batch people lookups when building item DTOsbrandon
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-07Fix EF core designer driftsShadowghost
2026-08-07Stop image endpoints from upscaling beyond the source resolutionvavallee
ImageHelper.GetNewImageSize passed the caller-supplied width/height straight through to SkiaEncoder.EncodeImage, which allocates an SKImageInfo of exactly that size. Nothing bounded those values against the source image, so a request like Items/<id>/Images/Primary?width=23100&height=23100 made the server allocate and resample a 23100x23100 surface from, say, a 600x336 poster: the reporter measured 100% of a core for 10-15 minutes and 6-12 GB resident per request. The item images endpoints do not require authentication, so any caller who knows an item id can trigger this, and varying the size by one pixel misses the cache every time. Add DrawingUtils.ScaleDownToFit, which scales a size down uniformly until it fits inside a bounding box and returns it unchanged if it already does, and apply it in GetNewImageSize against the original image dimensions. Requests that ask for more pixels than the source now get the source resolution back, scaled to the requested aspect ratio. Downscaling paths are untouched, and DrawingUtils.Resize keeps its existing behaviour for the transcoding callers in EncodingJobInfo and StreamInfo, which legitimately size video output. ResizeFill already refused to upscale; this makes width/height consistent with fillWidth/fillHeight. Fixes #17056.
2026-08-07Translated using Weblate (Lithuanian)Vitalijus
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2026-08-07Apply review suggestionsShadowghost
2026-08-06Translated using Weblate (Lithuanian)Vitalijus
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lt/
2026-08-06Cleanup and simplify query helpersShadowghost
2026-08-06Translated using Weblate (Hungarian)Keleti Márton
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2026-08-06Translated using Weblate (German)simonanter
Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2026-08-06Move the deletion of old related info to just before the saveMarc Brooks
This makes the deletion of BaseItemProviders, BaseItemImageInfos, and BaseItemMetadataFields happen in batch as a contiguous block so the lock isn't held across items, just before the bulk SaveChanges.
2026-08-06Add warning that PessimisticLockBehavior is unsafeMarc Brooks
Since it uses ReaderWriterLockSlim, it gets tripped up if the transaction is continued across an await boundary on a different thread.
2026-08-06Fix captured (and discarded) Execute exceptionsMarc Brooks
Using ExecuteAndCapture (and the async version) requires something to manage the captured exception, which we don't do. Errors would be silently dropped and the writes/deletes treated as if they succeeded.
2026-08-06Switch SQLite connection Cache to PrivateMarc Brooks
If left at Default, sqlite3_enable_shared_cache is process-global, so a plugin enabling it makes these connections share a cache too. Contention then surfaces as SQLITE_LOCKED ("database table is locked"), which the busy handler does not cover, busy_timeout is skipped and the command fails at CommandTimeout instead.
2026-08-05Speed up search for existing item valuesMarc Brooks
Replace the O(n²) array .First scan with a dictionary lookup