aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Folder.cs
AgeCommit message (Collapse)Author
2025-06-18Fix seasons random (#13224)Maxime
Sorting was always enabled so removed the `enableSorting` parameter in QueryResult method.
2025-06-15Use proper scheduler that honors the parallel task limit (#14281)JPVenson
2025-05-22Fix collection behavior when sorting by rating or runtime (#14148)theguymadmax
Co-authored-by: Max <no@example.com>
2025-03-28feat: allow grouping shows into collections (#13236)Johannes Heuel
* feat: allow grouping shows into collections * add pre-startup routine to rename EnableGroupingIntoCollections * Update Jellyfin.Server/Migrations/PreStartupRoutines/RenameEnableGroupingIntoCollections.cs
2025-03-25Fixed namespacesJPVenson
2025-03-25WIP fixed namespacesJPVenson
2025-03-01Merge remote-tracking branch 'jellyfinorigin/master' into ↵JPVenson
feature/DatabaseRefactor
2025-02-21Backport pull request #13594 from jellyfin/release-10.10.ztheguymadmax
Fix 4K filtering when grouping movies into collections Original-merge: 317d7a9f4f76dbd964e2649ed4b7d03d3e68ca9d Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-02-19Merge remote-tracking branch 'jellyfinorigin/master' into ↵JPVenson
feature/DatabaseRefactor
2025-02-09Rename CreateOrUpdateItems back to CreateItemsBond_009
Reverts the name change of this function made in the EFCore PR. This hopefully reduces the amount of merge conflicts while backporting and makes it consistent with the CreateItem function.
2025-02-09Backport pull request #12721 from jellyfin/release-10.10.zelfalem
Skip allowed tags check for parents of an item Original-merge: d1fbdcee3459c9b8b9f47362761ad8da2021bd93 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-02-02Merge remote-tracking branch 'jellyfinorigin/master' into feature/pgsql_providerJPVenson
2025-01-28Merge pull request #12925 from Bond-009/awaitBond-009
Always await instead of directly returning Task
2025-01-28Remove useless checks and dead code (#13405)Bond-009
* Remove useless checks and dead code * Enable adaptive bitrate streaming again * Disable adaptive bitrate streaming by default
2025-01-26Prepared Seperation of Database components for future multi provider supportJPVenson
2025-01-22Remove useless checks and dead codeBond_009
2024-11-17Applied coding styleJPVenson
2024-10-31Always await instead of directly returning TaskBond_009
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#prefer-asyncawait-over-directly-returning-task The performance impact is negligible (and it's me saying that!)
2024-10-28Updated all instances of ImmutableList to ImmutableArrayJPVenson
2024-10-09WIP porting new Repository structureJPVenson
2024-08-30Clean up UserDataManagerBond_009
* enable nullable * remove unused methods * fix warnings and docs
2024-06-23Backport pull request #12134 from jellyfin/release-10.9.zShadowghost
Only cleanup children on specific exceptions Original-merge: 6cf98d49300459b7795b994733ba05837e22cf1e Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06Backport pull request #11959 from jellyfin/release-10.9.zShadowghost
Do not stop validation if folder was removed Original-merge: cf591402761a7dda3fd251cb865eeba9b6533bfa Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-13Backport pull request #11569 from jellyfin/release-10.9.zcrobibero
Default to processor count concurrent scan instead of 2 * processor count Original-merge: f77a5d0c5c11741e16e7c2411e8f9df04d5f0b26 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-11Update MediaBrowser.Controller/Entities/Folder.csJoshua M. Boniface
2024-05-11Don't assume library change only on item countgnattu
The library will also be updated when the number of children remains the same before and after scanning. For example, if one video file is removed and replaced with another version, we still need to remove the old one in this case. Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-05Validate Collection Folders on adding and removal (#11444)gnattu
2024-04-17fix: correctly pass parameters in overridesgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-17chore: use proper way to override remove rootgnattu
This is an alternate approach which is more proper, but changes all parts that uses/overrides the original ValidateChildren method Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-12Only update if actively refreshing (#11341)Cody Robibero
2024-03-18fix: skip library folders that are inaccessible or empty (#9291)Claus Vium
2024-02-06Fix testsPatrick Barron
2024-02-06Remove ActionableProgressPatrick Barron
2024-02-06Remove SimpleProgressPatrick Barron
2024-01-17Use helper function to compare guid (#10825)Cody Robibero
2023-10-08Pass cancellation tokenStepan Goremykin
2023-06-21Reduce bottlenecks scan code (#9863)Bond-009
2023-05-26Fix TotalRecordCount calculationShadowghost
2023-01-07Fix recursive children lookup of folders (#8678)Egor Bakanov
Fixes https://github.com/jellyfin/jellyfin/issues/6193 Fixes https://github.com/jellyfin/jellyfin/issues/7226
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
Did a simple search/replace on the whole repo (except the RSSDP project) This reduces LOC and should improve performance (methods containing a throw statement don't get inlined) ``` if \((\w+) == null\) \s+\{ \s+throw new ArgumentNullException\((.*)\); \s+\} ``` ``` ArgumentNullException.ThrowIfNull($1); ```
2022-09-23Backport pull request #8189 from jellyfin/release-10.8.zLuke F
Fix GetItems IndexOutOfRangeException when IDs do not exist Original-merge: 527ed0607d5f31a232293b39daac19018518b1a0 Merged-by: Claus Vium <cvium@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-08-14Check for empty guidNiels van Velzen
2022-08-14Use Guid for adjacentTo API parameterNiels van Velzen
2022-03-11BaseItem: remove unused functionBond_009
2022-03-11Merge pull request #7346 from Bond-009/guidClaus Vium
Optimize Guid comparisons
2022-02-27Add post filtering for theme song and videoJoe Rogers
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-28Remove some allocations (#7246)Claus Vium