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
Hannes Braun
4edeccc5e0
Remove redundant using directives
2 years ago
Cody Robibero
04cac23a11
Merge pull request #7548 from 1337joe/comparer-null-fix
...
(cherry picked from commit 72aca15191
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Maxr1998
0aaf2f470a
Implement Comparers for (Parent)IndexNumber
...
Can be used in item queries to sort by ParentIndexNumber and IndexNumber (used for disc and track numbers for example).
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Bond_009
474b035d99
Fix some warnings
3 years ago
Patrick Barron
078200d8d4
Fix warnings in Sorting
3 years ago
Claus Vium
c38d19682c
Merge pull request #6553 from ankenyr/master
3 years ago
Rob
d557a5371e
Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Rob
8d45656c51
Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Rob
96bc24b1dc
Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
ankenyr
2b5f3f294e
Fixing #6269 by comparing PremiereDate when episode comparison would otherwise be equal.
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Moshe Schmidt
4bbfcaef83
Include specials in the calculation for the "Next Up" episode. Fixes #1479
4 years ago
Bond_009
01e781035f
Fix warnings
4 years ago
telans
7f307f9082
brace multiline if statements
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
acd4389653
fix SA1005
4 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
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Vasily
8e20d2e931
Simplify AlphanumericComparer, reduce code duplication
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond_009
e4f893a0eb
More warning fixes
5 years ago
Bond-009
bf43dc00bb
More warning fixes
6 years ago
Claus Vium
21f0a7e020
Make all class implementing dynamically loaded interfaces public
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
5b3d8a6d76
EditorConfig reformat: Emby.IsoMounting, Emby.Server.Implementations
6 years ago
Erwin de Haan
0efc699e3d
Visual Studio Reformat: Emby.Server.Implementations Part S-S
6 years ago
Erwin de Haan
846456b41e
Reformatted the files with notes.
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Luke Pulverenti
e441e2f53d
update active recordings
7 years ago
Luke Pulverenti
a7db7cd40c
reduce traffic from session player
7 years ago
Luke Pulverenti
3a8b567f14
update file responses
8 years ago
Luke Pulverenti
372d40598d
remove qsv hevc decoding for now
8 years ago
Luke Pulverenti
5fa3817a76
update components
8 years ago
Luke Pulverenti
3eb4091808
move additional classes to new server lib
8 years ago