aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Folder.cs
AgeCommit message (Collapse)Author
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
2022-01-22Ban the usage of Task.ResultBond_009
If the calling function can't be made async easily you can still use .GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-20Properly populate QueryResultCody Robibero
2021-12-12Use BaseItemKind where possibleCody Robibero
2021-11-09Fix some warningsBond_009
down to 580
2021-11-09Fix some warningsBond_009
609 left
2021-11-08Fix and disable new dotnet6 warningsCody Robibero
2021-09-09Fix some warningsBond_009
2021-08-28Remove more and more warningsCody Robibero
2021-08-13Fix warnings in MediaBrowser.ControllerRich Lander
2021-08-11Update MediaBrowser.Controller/Entities/Folder.csRich Lander
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-07-23Fix more warningsRich Lander
2021-07-23Fix partial set of MediaBrowser.Controller/Entities warningsRich Lander
2021-07-10[CA1801] Parameter is never used. Remove the parameter or use it in the ↵Cody Robibero
method body.
2021-06-07Merge pull request #6071 from BaronGreenback/DLNAFolderFixPart1Claus Vium
Make DLNA folders to work as expected.
2021-06-06Remove warninigs from MediaBrowser.Controller (Part 3) (#6078)Cody Robibero
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-17Enable child items to be returned if a musicAlbumBaronGreenback
2021-05-13Reduce warnings in MediaBrowser.Controllercrobibero
2021-05-07Enable nullable reference types for MediaBrowser.ControllerBond_009
2021-04-30Reduce some allocations with the magic of spans etc.cvium
2021-04-21Merge pull request #5808 from cvium/semi-fix-collection-perfBond-009
2021-04-17Remove unused using directivesBaronGreenback
2021-04-13fixescvium
2021-04-13Optimize the way items are grouped into collectionscvium