Joe Rogers
1c3a97bf6a
Inject IDirectoryService where needed instead of passing it through ItemResolveArgs
2 years ago
Joe Rogers
160baa02fd
Remove some BaseItem references to make ItemResolveArgs more usable for testing.
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
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
Rich Lander
e72868f72b
Update AggregateFolder.cs
3 years ago
Rich Lander
0ce7a15534
Fix more warnings
3 years ago
Rich Lander
a16e66615c
Update MediaBrowser.Controller/Entities/AggregateFolder.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Rich Lander
32616d15f2
Update MediaBrowser.Controller/Entities/AggregateFolder.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Rich Lander
a7cc77e7fa
Fix partial set of MediaBrowser.Controller/Entities warnings
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
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
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
Bond_009
b323044139
Reduce string allocations/fs lookups in resolve code
4 years ago
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
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
Bond_009
d9a03c9bb1
Fix more warnings
5 years ago
Bond_009
5edb8159a7
Fix Json serialization error
5 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
ba610b5094
Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller
6 years ago
Erwin de Haan
26ca4b607b
Visual Studio Reformat: MediaBrowser.Controller
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
Bond_009
340a2c6512
Post GPL cleanup
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
cdd79ec7e2
update owned items
7 years ago
Luke Pulverenti
e441e2f53d
update active recordings
7 years ago
Luke Pulverenti
f4765a87cc
update m3u tuner
7 years ago
Luke Pulverenti
a7db7cd40c
reduce traffic from session player
7 years ago
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
7 years ago
Luke Pulverenti
e91f569c15
update live tv startup
8 years ago
Luke Pulverenti
33014f77aa
update GetItems method
8 years ago
Luke Pulverenti
04b6f23473
3.2.9.1
8 years ago
Luke Pulverenti
ef6b90b8e6
make controller project portable
8 years ago
Luke Pulverenti
d5b5c8e1a5
update display of active recordings
8 years ago
Luke Pulverenti
daaae69df5
add playback of in-progress recordings
8 years ago
Luke Pulverenti
ea62399fe8
use shared headroom
8 years ago
Luke Pulverenti
ec111eebd3
fix folder caching
8 years ago
Luke Pulverenti
037c4e8740
improve boxset & playlist performance
8 years ago
Luke Pulverenti
0706bd5237
update DirectoryService
8 years ago
Luke Pulverenti
efe9fa8a8d
update playlist
9 years ago
Luke Pulverenti
edfc55fdf6
fix content sometimes not appearing after restart
9 years ago
Sven Van den brande
168587b2a0
Remove unused code...
9 years ago
Luke Pulverenti
9c6cb3f8f6
update i/o methods
9 years ago
Luke Pulverenti
bed740668c
update special folders
9 years ago