aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
AgeCommit message (Collapse)Author
2025-11-17Backport pull request #15423 from jellyfin/release-10.11.ztheguymadmax
Invalidate parent folder's cache on deletion/creation Original-merge: 49efd68fc7ef4b70b38151a177502bbdb3adede0 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-08Clean up missing image references (#14962)theguymadmax
2025-10-04Validate wizard-created libraries immediately instead of only doing it after ↵Thomas Jones
a library refresh was triggered (#14942) Co-authored-by: Derpipose <90276123+Derpipose@users.noreply.github.com>
2025-10-01Add tag filtering and random sorting to GetSimilarItems (#14918)theguymadmax
2025-09-24Add People Dedup and multiple progress fixes (#14848)JPVenson
2025-09-20Skip removed images (#14823)Tim Eisele
2025-09-19Fix root folder not being saved to Db if nessesary (#14819)JPVenson
* Fix root folder not being saved to Db if nessesary * Always update folder to Db
2025-09-16Optimize internal querying of UserData, other fixes (#14795)JPVenson
2025-08-12Merge pull request #14634 from crobibero/itemname-countsCody Robibero
2025-08-11Refactor to pull item counts in a single queryCody Robibero
2025-08-09Always save images (#14600)Tim Eisele
2025-07-27fix file modification date comparisons (#14503)evan314159
2025-07-25Set DateLastSaved after running metadata savers (#14531)Tim Eisele
2025-07-07Only save images when changed (#14425)JPVenson
2025-06-26Fix modification checks and make sure to use UTC (#14347)Tim Eisele
2025-06-12Fix People Issues (#14284)Tim Eisele
2025-05-09Cleanup external item data cleanup (#14072)Tim Eisele
2025-05-04Recognize file changes and remove data on change (#13839)Tim Eisele
2025-05-04Cleanup file related code (#14023)Bond-009
2025-04-26Fix distinction queries (#14007)Tim Eisele
2025-04-26Add .gitignore style ignoring (#13906)Tim Eisele
2025-04-26Check for path overlaps (#12832)JPVenson
2025-04-26Merge pull request #13536 from tkloy24/13250-Extras-Delete-Whole-FolderBond-009
Fix IsInMixedFolder not being set for Extras
2025-04-03Cleanup extracted files (#13760)Tim Eisele
* Cleanup extracted files * Pagination and fixes * Add migration for attachments to MigrateLibraryDb * Unify attachment handling * Don't extract again if files were already extracted * Fix MKS attachment extraction * Always run full extraction on mks * Don't try to extract mjpeg streams as attachments * Fallback to check if attachments were extracted to cache folder * Fixup
2025-04-02Trim library names (#13828)JPVenson
2025-03-27Fix for Issue #12142: Fix ExtraRuleResolver filtering out top level folders ↵Michael McElroy
(#12170) * Fix ExtraRuleResolver to stop filtering out libraries where the name of the base folder matches an 'videos extras' rule with an ExtraRuleType of DirectoryName Currently the ExtraRuleResolver code doesn't know anything about the root folder of the current library. As a result, when we're attempting to add items in a library where the root folder has a name with a match in Emby.Naming.Common.NamingOptions.VideoExtraRules, the entire library is being ignored as a Video Extras folder. Need to pass in the root folder of the current library to compare to the path of the current item being evaluated, and if we match the current item's folder to the root folder, then we ignore the ExtraRules with a type of DirectoryName and we continue to scan deeper in the library. Filters still apply to subfolders within the library itself. * Update CONTRIBUTORS.md * Update Emby.Naming/Video/ExtraRuleResolver.cs * Update ExtraTests.cs Add tests for this fix. Also add missing tests in TestKodiExtras, TestExpandedExtras, and TestSample, and expanded TestDirectories into TestDirectoriesAudioExtras and TestDirectoriesVideoExtras. There were no checks for the theme-music folder name previously. * Update ExtraTests.cs Removed unnecessary "using System" * In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4 * Update ExtraTests.cs Remove empty lines in usings * Revert "In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4"
2025-03-27Implement limiting caches (#13605)Cody Robibero
* Implement basic expiring cache for LibraryManager * Add expiring cache to more places * Rider why * Make DirectoryService caches static * Use FastConcurrentLru * Reduce default cache size * Simplify DirectoryService caches * Make directory service cache size at least 128
2025-03-27Avoid multiple enumerationsTobias Kloy
2025-03-27Fix IsInMixedFolder not being set for Extras in mixed subfoldersTobias Kloy
2025-03-26Fix only returning one item from /Item/Latest api. (#12492)JQ
* Updated to EFcore * Remove unused using * Dont use DateCreated not from episode type or music type * use TranslateQuery to filter out instead and then do the grouping and retrival of min and max datecreated instead * Album also
2025-03-25Fixed namespacesJPVenson
2025-03-25WIP fixed namespacesJPVenson
2025-03-25Merge branch 'master' into feature/DatabaseRefactorJPVenson
2025-03-23Rework season folder parsing (#11748)Tim Eisele
2025-03-23Remove all DB data on item removal, delete internal trickplay files (#13753)Tim Eisele
2025-03-18Add fast-path to getting just the SeriesPresentationUniqueKey for NextUp ↵Cody Robibero
(#13687) * Add more optimized query to calculate series that should be processed for next up * Filter series based on last watched date
2025-03-01Merge remote-tracking branch 'jellyfinorigin/master' into ↵JPVenson
feature/DatabaseRefactor
2025-02-25Backport pull request #13601 from jellyfin/release-10.10.zBond-009
Delete children from cache on parent delete Original-merge: 767a5e61930897d6151bf2b5b6c4940a288deb41 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2025-02-25Backport pull request #13611 from jellyfin/release-10.10.zShadowghost
Remove empty ParentIndexNumber workaround Original-merge: 1daf761aece5114a6ac3b7b938f114e70b83d99e Merged-by: Bond-009 <bond.009@outlook.com> 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-02Merge remote-tracking branch 'jellyfinorigin/master' into feature/pgsql_providerJPVenson
2025-01-30Removing CollectionFolders from cache when they are deleted on disk. (#13315)sinterdev
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-25Merge pull request #12798 from JPVenson/feature/EFUserDataJoshua M. Boniface
Refactor library.db into jellyfin.db and EFCore
2025-01-22Remove useless checks and dead codeBond_009
2024-12-12move to new System.Threading.Lock type for better performanceDaniyar Alpyspayev
2024-11-17Applied coding styleJPVenson
2024-11-14Updated order of saving for ItemsJPVenson