Cody Robibero
892973a9e3
Merge branch 'master' into media-type
1 year ago
Cody Robibero
2920611ffc
Convert string MediaType to enum MediaType
1 year ago
Stepan Goremykin
526f9a825c
Make files readonly
1 year ago
Stepan Goremykin
910617bbc3
Remove redundant 'else' keywords
2 years ago
Bond_009
d8ec3a5470
Reduce usage of GetAwaiter().GetResult()
2 years ago
Bond_009
24a7e210c3
Optimize tryparse
...
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
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
1c14c86b20
Fix some warnings
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
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Rich Lander
06679eeebf
Fix warnings for MediaBrowser.Controller/LiveTv
3 years ago
Cody Robibero
65f8d8c0cd
[CA1801] Parameter is never used. Remove the parameter or use it in the method body.
3 years ago
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons
3 years ago
Bond_009
383c2d7374
Remove useless nullable directives
3 years ago
Cody Robibero
d461e3912a
Remove warninigs from MediaBrowser.Controller (Part 3) ( #6078 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
crobibero
6bcbc2b88a
Reduce warnings in MediaBrowser.Controller
4 years ago
Cody Robibero
e3f55a0c54
Reduce warnings in MediaBrowser.Controller ( #6006 )
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
97c2c523a8
Merge branch 'master' into comparisons
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
BaronGreenback
80877aa945
Cleaned up "value assigned is not used in any execution path"
4 years ago
cocool97
86852178c2
Update MediaBrowser.Controller/LiveTv/ChannelInfo.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
LIAUD
32853ca244
Add 'group-title' channel parsing
4 years ago
crobibero
73f9a6d7d0
Convert array property to IReadOnlyList
4 years ago
Matt Montgomery
53d5f64e03
Fix SA1513, SA1514, SA1507, and SA1508
4 years ago
Bond_009
e653eef44f
Fix some warnings
4 years ago
Patrick Barron
9fa4fff15d
Merge branch 'master' into event-rewrite-1
...
# Conflicts:
# Emby.Dlna/Emby.Dlna.csproj
# Emby.Dlna/Eventing/DlnaEventManager.cs
# Emby.Dlna/Service/BaseService.cs
# Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
# MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
4 years ago
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
4 years ago
Bond_009
2b400c99ef
Fix warnings
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
4 years ago
aled
22a860a806
Fix a small number of compile warnings
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
Patrick Barron
eef7cfd912
Make SonarCloud less angry
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Bond_009
5edb8159a7
Fix Json serialization error
5 years ago
Bond_009
c5995af493
Some style fixes
5 years ago
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago