gnattu
e4d66f35fd
chore: use proper way to override remove root
...
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>
7 months ago
Cody Robibero
31e0756c0c
Only update if actively refreshing ( #11341 )
7 months ago
Claus Vium
239727e896
fix: skip library folders that are inaccessible or empty ( #9291 )
8 months ago
Patrick Barron
505c09c85b
Fix tests
9 months ago
Patrick Barron
0960438065
Remove ActionableProgress
9 months ago
Patrick Barron
8698b90594
Remove SimpleProgress
9 months ago
Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
10 months ago
Stepan Goremykin
6512f85ccb
Pass cancellation token
1 year ago
Bond-009
3982b0e057
Reduce bottlenecks scan code ( #9863 )
1 year ago
Shadowghost
81746666de
Fix TotalRecordCount calculation
1 year ago
Egor Bakanov
46e9f5ad2e
Fix recursive children lookup of folders ( #8678 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/6193
Fixes https://github.com/jellyfin/jellyfin/issues/7226
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
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);
```
2 years ago
Luke F
e579b4d42d
Backport pull request #8189 from jellyfin/release-10.8.z
...
Fix GetItems IndexOutOfRangeException when IDs do not exist
Original-merge: 527ed0607d
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2 years ago
Niels van Velzen
61afd029df
Check for empty guid
2 years ago
Niels van Velzen
0f91244239
Use Guid for adjacentTo API parameter
2 years ago
Bond_009
7fdc0e3c3d
BaseItem: remove unused function
3 years ago
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
3 years ago
Joe Rogers
354f22d065
Add post filtering for theme song and video
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* 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
3 years ago
Claus Vium
488ce51032
Remove some allocations ( #7246 )
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
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
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
3 years ago
Bond_009
0d16c48998
Fix some warnings
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Rich Lander
e3df4dcaae
Fix warnings in MediaBrowser.Controller
3 years ago
Rich Lander
ad6f27143f
Update MediaBrowser.Controller/Entities/Folder.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Rich Lander
0ce7a15534
Fix more warnings
3 years ago
Rich Lander
a7cc77e7fa
Fix partial set of MediaBrowser.Controller/Entities warnings
3 years ago
Cody Robibero
65f8d8c0cd
[CA1801] Parameter is never used. Remove the parameter or use it in the method body.
3 years ago
Claus Vium
f17d43c564
Merge pull request #6071 from BaronGreenback/DLNAFolderFixPart1
...
Make DLNA folders to work as expected.
3 years ago
Cody Robibero
d461e3912a
Remove warninigs from MediaBrowser.Controller (Part 3) ( #6078 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
BaronGreenback
48bb338352
Enable child items to be returned if a musicAlbum
4 years ago
crobibero
6bcbc2b88a
Reduce warnings in MediaBrowser.Controller
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
Bond-009
48ed4b016c
Merge pull request #5808 from cvium/semi-fix-collection-perf
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
cvium
d44b2e2ee5
fixes
4 years ago
cvium
723b6abcb3
Optimize the way items are grouped into collections
4 years ago
crobibero
ee23d06154
Use a more descriptive function name
4 years ago
crobibero
f5cce9e630
Use typed UserManager GetPreference
4 years ago
cvium
15a3d8d626
Forgot to revert some other changes, dunno if needed
4 years ago
Claus Vium
f1cc01f324
Merge pull request #4242 from Spacetech/library_scan_speed
...
Increase library scan and metadata refresh speed
4 years ago
Gary Wilber
f4edca7c27
Move MetadataRefreshThrottler to BaseItemManager
4 years ago