Patrick Barron
4e02d8aa21
Convert LibraryChangedNotifier to IHostedService
9 months ago
Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
10 months ago
Patrick Barron
4e61c2b4ec
Enable nullable in LibraryChangedNotifier
1 year ago
Patrick Barron
0ea9f713f4
Document LibraryChangedNotifier
1 year ago
Patrick Barron
c38bfd281c
Use file-scoped namespace
1 year ago
Patrick Barron
7e645dcfc0
Make ILibraryChangedNotifier sealed
1 year ago
Patrick Barron
8f5f0a0310
Combine library item event handlers
1 year ago
Patrick Barron
eb4d8e13df
Break up long lines
1 year ago
Patrick Barron
98f8cb2ad0
Use target-typed new for fields
1 year ago
Patrick Barron
8eb2fa53b5
Use pattern matching for EnableRefreshMessage
1 year ago
Frank Riley
1952a915e6
Move hardcoded LibraryUpdateDuration to ServerConfiguration. Fixes #9893 .
...
Signed-off-by: Frank Riley <fhriley@gmail.com>
1 year ago
Bond_009
d8ec3a5470
Reduce usage of GetAwaiter().GetResult()
2 years ago
Bond_009
6481376b81
Use DistinctBy introduced in .NET 6
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
ignacio laborde
c6bf6e00de
Remove unnecessary ToList usage
2 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
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Patrick Barron
b7e405889d
Fix warnings in LibraryChangedNotifier
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Gary Wilber
e6d8c02944
Merge remote-tracking branch 'upstream/master' into library_scan_speed
4 years ago
Gary Wilber
ac6d51554c
Fix lastProgressMessageTimes dictionary errors
4 years ago
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
Patrick Barron
7462a0a9e8
Make event methods private.
4 years ago
Patrick Barron
750d8a989f
Clean up LibraryChangedNotifier.
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
5 years ago
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Mark Monteiro
b67e9cde8c
Replace ILogger with ILogger<T> wherever possible
...
Log entries will contain additional class context when using this interface
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
dkanada
37eed8cf1f
revert settings to their old names
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond-009
b44a70ff36
Simplify/remove/clean code
...
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant
And ofc fix some warnings ;)
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Bond_009
1385d89df6
Remove MoreLINQ
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago