aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
AgeCommit message (Collapse)Author
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-11-09Convert ItemSortBy to enum (#9765)Cody Robibero
* Convert ItemSortBy to enum * Rename Unknown to Default
2023-10-12Merge branch 'master' into fix-resharper-warningsStepan Goremykin
# Conflicts: # Emby.Server.Implementations/Net/SocketFactory.cs # RSSDP/SsdpCommunicationsServer.cs # RSSDP/SsdpDeviceLocator.cs # RSSDP/SsdpDevicePublisher.cs
2023-10-08Merge pull request #10345 from Bond-009/getpersonBond-009
2023-10-08Remove redundant using directivesStepan Goremykin
2023-10-08Use async overloadStepan Goremykin
2023-10-06Reduce string allocationsBond_009
Some simple changes to reduce the number of allocated strings
2023-10-05Don't create non existent persons in LibraryManager.GetPersonBond_009
return null instead. GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one when the requested one doesn't exist Fixes #3901
2023-09-13Minor LibraryMonitor improvementsBond_009
* Enable nullable * Add a fast return to ReportFileSystemChanged when path should be ignored * Use Span overloads of Path.* functions where possible * IFileSystem: remove NormalizePath as Path.TrimEndingDirectorySeparator already checks if it's a root path
2023-08-26Fix a few multiple enumerationsStepan Goremykin
2023-08-18refactor: use ConcurrentDictionary when IMemoryCache isn't neededcvium
2023-07-01Merge pull request #9447 from Bond-009/disablerealtimemonitorClaus Vium
Disable real time monitoring by default
2023-05-26Fix TotalRecordCount calculationShadowghost
2023-04-10#7626 Added handling for common FormatExceptions with Skia loading sv… (#9581)JPVenson
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-04-06Simplify conditional expressionStepan Goremykin
2023-04-01Implement check to hide all libraries when user has no access (#9536)elmuffo
2023-03-07Disable real time monitoring by defaultBond_009
2023-03-06Inject IDirectoryService where needed instead of passing it through ↵Joe Rogers
ItemResolveArgs
2023-03-06Remove some BaseItem references to make ItemResolveArgs more usable for testing.Joe Rogers
2023-03-01Allocate less ListsBond_009
2022-12-19Use Order() introduced in .NET 7 (#8923)Bond-009
2022-12-08Allow video extras to use owner library optionsJoe Rogers
2022-12-07Remove dependency on OptimizedPriorityQueueBond_009
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-11-17Add xmldocs for TMDb provider, correct provider spellingShadowghost
2022-10-09Skip missing symlink instead of breaking out of directory scanJoe Rogers
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-28Remove redundant using directivesHannes Braun
2022-09-23Backport pull request #8399 from jellyfin/release-10.8.zLogicalPhallacy
Respect visibility for people items (rebased) Original-merge: e6124bc154c9f95fdd491f309623def6b3df0171 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-08-15Fix various typos luz paz
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-01Backport pull request #8167 from jellyfin/release-10.8.zJoshua Boniface
Add back library scan from library manager Authored-by: Cody Robibero <cody@robibe.ro> Merged-by: Bond-009 <bond.009@outlook.com> Original-merge: f9dffa767f71f287e384282679a9af5e20bc370e
2022-06-29Merge pull request #7946 from cvium/svgCody Robibero
(cherry picked from commit 4ebe70cf6a12be4f4eae0b815a269a483ee238bb) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-04-07Merge pull request #7525 from 1337joe/fix-duplicate-library-media-pathsCody Robibero
(cherry picked from commit bebe1808ce529cff867b5b0c207542aadc9aedff) Signed-off-by: crobibero <cody@robibe.ro>
2022-03-11Merge pull request #7346 from Bond-009/guidClaus Vium
Optimize Guid comparisons
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-02-20Fix #7100 by catching the exception on opening invalid UDF imagesStanislav Ionascu
When an invalid UDF image is opened by the UdfReader, it may throw and exception. This change is to catch and log the exception.
2022-02-17Remove some dead codeBond_009
2022-02-15Fix some warningsBond_009
2022-02-06Merge pull request #7241 from Bond-009/async5Cody Robibero
2022-01-28Remove some allocations (#7246)Claus Vium
2022-01-22Flush to disk async where possibleBond_009
2022-01-20Properly populate QueryResultCody Robibero
2022-01-07Keep from serializing trailers into databaseJoe Rogers
2022-01-05Error on SA1316Bond_009
2022-01-02Merge pull request #7058 from cvium/the_most_important_featureBond-009
2022-01-01Remove file extension filter and fix buildcvium
2021-12-28Use dedicated resolvers for extrascvium
2021-12-27Remove more warningsCody Robibero