Cody Robibero
15465afd8e
Revert changes to DirectoryService
2025-03-27 21:13:27 -06:00
Cody Robibero
88ceaa39b0
Implement limiting caches ( #13605 )
...
* 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-27 18:16:54 -06:00
Mikal S
9b7da736ed
Replace !=
with is not
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2024-06-15 18:00:53 +02:00
Mikal Stordal
7b17b5b488
fix: add null check
2024-06-11 02:02:51 +02:00
Mikal Stordal
0cf8b376ac
Don't expect BaseItem
to be a movie/video file.
...
This fix is mainly so I can mass-add series _and_ movie entries using a
`IMultiItemResolver` without having to resort to complicated logic
using _both_ a `IItemResolver` and a `IMultiItemResolver` by splitting
up what gets added where.
I've also added three new interface methods to the `IDirectoryService`,
one of which is used in the modified
`ResolverHelper.SetInitialItemValues(…)` to get the file system entry
info for the item regardless of which type the file system entry is.
In my local testing so far I haven't found any issues introduced
by this change.
2024-06-11 02:01:15 +02:00
Shadowghost
18dd6b2875
Backport pull request #11934 from jellyfin/release-10.9.z
...
Fix local image saving
Original-merge: b0bb22b65080a21ad1ce27fa2937a6b439e157da
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06 14:30:30 -04:00
Claus Vium
239727e896
fix: skip library folders that are inaccessible or empty ( #9291 )
2024-03-18 09:09:00 -06:00
Bond_009
cbfa355e31
Update StyleCop
2021-12-24 18:28:27 +01:00
cvium
76c2775d8c
Use static lambdas
2021-12-19 10:27:57 +01:00
cvium
0835b26889
review
2021-05-31 13:55:54 +02:00
cvium
42a2cc1747
Remove some unnecessary allocations
2021-05-24 00:30:41 +02:00
Bond_009
4367b97a54
Fix build
2021-05-07 00:52:06 +02:00
cvium
7670189561
make directoryservice cache case sensitive
2021-03-27 00:26:56 +01:00
Gary Wilber
eb04773c79
Use the get or add argument
2020-09-27 17:34:36 -07:00
Gary Wilber
50c9083bc0
remove unnecessary parentheses
2020-09-27 17:25:08 -07:00
Gary Wilber
449f7e1b1e
update based on suggestions
2020-09-27 17:24:12 -07:00
Gary Wilber
89041982c2
Use ConcurrentDictionary's in DirectoryService
2020-09-27 17:02:10 -07:00
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
2020-08-22 21:56:24 +02:00
Bond_009
787049f35f
Merge branch 'master' into minor
2020-04-01 18:53:22 +02:00
dkanada
52fde64f10
remove unused files and fix some future warnings
2020-03-09 23:30:57 +09:00
Bond_009
a07ee65365
Minor improvements
2020-02-23 10:53:51 +01:00
Bond_009
d9a03c9bb1
Fix more warnings
2019-10-29 17:55:16 +01:00
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
2019-01-17 20:24:39 +01:00
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
2019-01-13 21:46:33 +01:00
Erwin de Haan
ba610b5094
Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller
2019-01-13 21:01:16 +01:00
Erwin de Haan
26ca4b607b
Visual Studio Reformat: MediaBrowser.Controller
2019-01-13 20:25:32 +01:00
Bond_009
b1ccd6bad9
Fix build post GPL change
2018-12-30 22:44:39 +01:00
Bond_009
b7ebb67cbb
Remove the need for NullLogger
2018-12-30 22:44:38 +01:00
Bond_009
3d3ec3588b
Mark where ILogger is being set to null
2018-12-30 22:44:38 +01:00
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
2018-12-30 22:44:38 +01:00
Andrew Rabert
a86b71899e
Add GPL modules
2018-12-27 18:27:57 -05:00
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
5cb7469028
support track selection before playback
2017-11-05 16:51:23 -05:00
Luke Pulverenti
e441e2f53d
update active recordings
2017-08-24 15:52:19 -04:00
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
2017-08-09 15:56:38 -04:00
Luke Pulverenti
401d82eea7
fixes #2559 - movie.nfo being ignored
2017-07-21 15:05:52 -04:00
Luke Pulverenti
33014f77aa
update GetItems method
2017-05-26 02:48:54 -04:00
Luke Pulverenti
696a6b34ea
improve smb support
2017-05-04 14:14:45 -04:00
Luke Pulverenti
04b6f23473
3.2.9.1
2017-03-29 02:26:48 -04:00
Luke Pulverenti
ef6b90b8e6
make controller project portable
2016-10-25 15:02:04 -04:00
Luke Pulverenti
894d87fabb
add file cache
2016-08-06 17:10:18 -04:00
Luke Pulverenti
c3d8115bc8
update directory service
2016-08-06 10:09:03 -04:00
Luke Pulverenti
0706bd5237
update DirectoryService
2016-08-06 00:48:00 -04:00
Luke Pulverenti
eb321dad3b
fix DateModified not refreshing
2016-07-24 12:46:17 -04:00
Sven Van den brande
168587b2a0
Remove unused code...
2016-03-27 23:11:27 +02:00
Luke Pulverenti
d0ca9b1c07
update components
2016-02-29 11:23:30 -05:00
Luke Pulverenti
c6ce834216
update use of FileAttributes
2015-11-12 15:51:39 -05:00
Luke Pulverenti
078277ebc2
continue file system rework
2015-10-04 00:23:11 -04:00
Luke Pulverenti
8ad702060e
begin file system rework
2015-10-03 23:38:46 -04:00
Luke
14de062681
update file system methods
2015-09-13 17:32:02 -04:00