Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
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);
```
2022-10-06 20:21:23 +02:00
Hannes Braun
4edeccc5e0
Remove redundant using directives
2022-09-28 16:26:03 +02:00
Cody Robibero
04cac23a11
Merge pull request #7548 from 1337joe/comparer-null-fix
...
(cherry picked from commit 72aca15191
)
Signed-off-by: crobibero <cody@robibe.ro>
2022-04-07 12:54:58 -04:00
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).
2022-02-17 01:35:59 +01:00
Bond_009
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
Bond_009
474b035d99
Fix some warnings
2021-11-15 15:57:07 +01:00
Patrick Barron
078200d8d4
Fix warnings in Sorting
2021-10-03 21:41:22 -04:00
Claus Vium
c38d19682c
Merge pull request #6553 from ankenyr/master
2021-09-21 08:09:41 +02:00
Rob
d557a5371e
Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-13 08:32:28 -07:00
Rob
8d45656c51
Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-13 08:32:18 -07:00
Rob
96bc24b1dc
Update Emby.Server.Implementations/Sorting/AiredEpisodeOrderComparer.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-13 08:32:12 -07:00
ankenyr
2b5f3f294e
Fixing #6269 by comparing PremiereDate when episode comparison would otherwise be equal.
2021-09-12 15:05:37 -07:00
Cody Robibero
cba07b1ca6
Remove more and more warnings
2021-08-28 16:32:50 -06:00
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
2021-06-19 18:04:46 +02:00
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
2021-05-20 22:48:53 +02:00
Moshe Schmidt
4bbfcaef83
Include specials in the calculation for the "Next Up" episode. Fixes #1479
2021-02-28 21:21:26 +01:00
Bond_009
01e781035f
Fix warnings
2020-07-24 16:37:54 +02:00
telans
7f307f9082
brace multiline if statements
2020-06-20 21:12:36 +12:00
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans
247f9c61e6
fix SA1513/SA1516
2020-06-16 16:11:30 +12:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
telans
acd4389653
fix SA1005
2020-06-15 10:41:00 +12:00
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
2020-06-04 16:52:23 -04:00
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-05-29 11:28:19 +02:00
Patrick Barron
c464f700db
Remove redundant qualifiers
2020-05-20 13:07:53 -04:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
Vasily
8e20d2e931
Simplify AlphanumericComparer, reduce code duplication
2020-02-27 14:51:34 +03:00
Bond-009
b477b3874e
Fix some warnings
2019-11-22 16:15:31 +01:00
Bond_009
e4f893a0eb
More warning fixes
2019-08-29 22:28:33 +02:00
Bond-009
bf43dc00bb
More warning fixes
2019-03-13 22:32:52 +01:00
Claus Vium
21f0a7e020
Make all class implementing dynamically loaded interfaces public
2019-02-15 23:05:14 +01:00
Claus Vium
8985fb8d58
Remove support for games as a media type
2019-01-31 19:04:47 +01:00
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
2019-01-13 21:37:13 +01:00
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
2019-01-13 20:54:44 +01:00
Erwin de Haan
5b3d8a6d76
EditorConfig reformat: Emby.IsoMounting, Emby.Server.Implementations
2019-01-13 20:30:03 +01:00
Erwin de Haan
0efc699e3d
Visual Studio Reformat: Emby.Server.Implementations Part S-S
2019-01-13 20:22:24 +01:00
Erwin de Haan
846456b41e
Reformatted the files with notes.
2019-01-12 21:41:08 +01:00
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
2019-01-11 12:50:36 +01:00
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.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4
remove trailing whitespace
2019-01-07 23:27:46 +00:00
Luke Pulverenti
e441e2f53d
update active recordings
2017-08-24 15:52:19 -04:00
Luke Pulverenti
a7db7cd40c
reduce traffic from session player
2017-08-11 02:29:49 -04:00
Luke Pulverenti
3a8b567f14
update file responses
2017-05-05 13:55:38 -04:00
Luke Pulverenti
372d40598d
remove qsv hevc decoding for now
2017-04-01 15:49:36 -04:00
Luke Pulverenti
5fa3817a76
update components
2017-02-26 16:47:52 -05:00
Luke Pulverenti
3eb4091808
move additional classes to new server lib
2016-11-03 02:37:52 -04:00