aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/UserViewBuilder.cs
AgeCommit message (Collapse)Author
2026-08-02Merge pull request #17486 from Shadowghost/fix-adjacentCody Robibero
Fix AdjacentTo being ignored on non-recursive item queries
2026-07-29Fix AdjacentTo being ignored on non-recursive item queriesShadowghost
2026-07-28Fix played/unplayed filter for empty Series and BoxSetsShadowghost
2026-07-22Prefer null checks over HasValue everywhereShadowghost
2026-06-26Fix Book collections scanning all itemsMarc Brooks
Added static method GetBaseItemKindsForCollectionType in ItemsController (moved from ContentFolderImageProvider to be shared) Added AudioBook to GetRepresentativeItemTypes for CollectionType.books for consistency Added GetBooks to GetUserItems for CollectionType.books which gets BaseItemKind.Book and BaseItemKind.AudioBook Move GetBaseItemKindsForCollectionType to DtoExtensions Cleaned up the missing null checks and used new collection expressions. Associate Person to Book and AudioBook for related items.
2026-04-01Wrap method parametersShadowghost
2026-02-21Handle linkedChildren in GetPlayedAndTotalCountBatch and optimize filterShadowghost
2026-02-21Fix IsPlayed filter and setting BoxSet played/unplayedShadowghost
2026-01-18Complete LinkedChildren integration and batch DTO optimizationsShadowghost
This commit integrates remaining performance changes: - Add batch user data fetching in DtoService to reduce N+1 queries - Add GetNextUpEpisodesBatch in TVSeriesManager for efficient batch retrieval - Update Video/Movie/BoxSet to use LibraryManager for alternate versions - Transition LinkedChild to use ItemId instead of Path (obsolete Path/LibraryItemId) - Update providers and controllers for LinkedChildren-based references - Add NextUpEpisodeBatchResult for batched episode queries - Integrate IDescendantQueryProvider in SqliteDatabaseProvider
2025-12-08avoid Take(0) when limit == 0 (#14608)evan314159
Co-authored-by: Evan <evan@MacBook-Pro.local>
2025-09-24Apply filter server side (#14856)v10.11.0-rc6JPVenson
2025-09-14Revert IsPlayed optimization, pass UserItemData to IsPlayed when available ↵Cody Robibero
(#14786)
2025-08-26Use existing userData (#14703)Cody Robibero
2025-06-18Fix seasons random (#13224)Maxime
Sorting was always enabled so removed the `enableSorting` parameter in QueryResult method.
2025-06-03fixes #14193 (#14203)Shane Powell
2025-03-25Fixed namespacesJPVenson
2025-03-25WIP fixed namespacesJPVenson
2025-01-26Prepared Seperation of Database components for future multi provider supportJPVenson
2024-10-09WIP porting new Repository structureJPVenson
2024-09-07Backport pull request #12550 from jellyfin/release-10.9.zBond-009
Create and use FormattingStreamWriter Original-merge: cd2f2ca17800f71c8d94a6e043b49b7c4200e254 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-08-05Replace UserId with User in NextUpQueryBond_009
2024-07-21Changed `GetThemeMedia` to support SortBy/Order options (#12167)ItsAllAboutTheCode
* Changed `GetThemeMedia` to support SortBy/Order options The `GetThemeMedia, `GetThemeVideos` and `GetThemeSongs` functions can optionally sort the results based based on passing an ItemSortBy type and a SortOrder. This is intended to be used by jellyfin-web in order to allow users to control the order of theme playback. See PR: https://github.com/jellyfin/jellyfin-web/pull/5714 * Update MediaBrowser.Controller/Entities/BaseItem.cs Fix the `GetThemeVideos` two argument overload having both parameters defaulted. For the two argument overload, both parameters are required.
2024-01-17Use helper function to compare guid (#10825)Cody Robibero
2023-12-08Convert CollectionType to use lowercase enum namesCody Robibero
2023-11-09Merge branch 'master' into media-typeCody Robibero
2023-11-09Convert CollectionType, SpecialFolderType to enum (#9764)Cody Robibero
* Convert CollectionType, SpecialFolderType to enum * Hide internal enum CollectionType values * Apply suggestions from code review Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> * Fix recent change * Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs Co-authored-by: Patrick Barron <barronpm@gmail.com> --------- Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-10-10Convert string MediaType to enum MediaTypeCody Robibero
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-08-14Check for empty guidNiels van Velzen
2022-08-14Use Guid for adjacentTo API parameterNiels van Velzen
2022-02-21Optimize Guid comparisonsBond_009
* Use Guid.Equals(Guid) instead of the == override * Ban the usage of Guid.Equals(Object) to prevent accidental boxing * Compare to default(Guid) instead of Guid.Empty
2022-01-20Properly populate QueryResultCody Robibero
2021-12-20Use our own Contains extensioncvium
2021-12-15Merge branch 'master' into what_could_go_wrongClaus Vium
2021-12-12Use BaseItemKind where possibleCody Robibero
2021-12-07Refactor extras parsingcvium
2021-11-16Remove unused dependenciescvium
2021-07-10[CA1801] Parameter is never used. Remove the parameter or use it in the ↵Cody Robibero
method body.
2021-06-06Remove warninigs from MediaBrowser.Controller (Part 3) (#6078)Cody Robibero
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-07Enable nullable reference types for MediaBrowser.ControllerBond_009
2021-04-21Improve perf of db save and queryBond_009
2020-11-16Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.crobibero
2020-11-02Merge pull request #4341 from Bond-009/minor6Anthony Lavado
Minor improvements
2020-10-17Use nameof where possibleBond_009
2020-10-12Fix SA 1116 warningsJan-Pieter Baert
2020-09-28Fix SA1513, SA1514, SA1507, and SA1508Matt Montgomery
2020-08-20Make MediaBrowser.MediaEncoding warnings freeBond_009
2020-08-19More warnBond_009
2020-07-17Migrate Display Preferences to EF CorePatrick Barron