Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Julius Vitkauskas
7d7401bf0f
Fix double assignment
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
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Bond_009
f1f72c3060
Minor improvements
3 years ago
BaronGreenback
f2c10471bf
Code Clean up: Use Pattern Matching ( #5838 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
d07eef4f25
Add tests for NFO parsers
4 years ago
crobibero
38885ffd74
Fix nullability errors in MediaBrowser.LocalMetadata
4 years ago
crobibero
ef49e2b21c
Fix nullable string usage.
4 years ago
crobibero
14f32b4927
Remove warnings from MediaBrowser.LocalMetadata
4 years ago
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
4 years ago
aled
299e49f39d
Fix a small number of compile warnings
5 years ago
aled
22a860a806
Fix a small number of compile warnings
5 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
Bond_009
ffd6dac03a
Remove useless comments
6 years ago
Bond_009
a9302b8b53
Remove useless abstraction around XmlReaderSettings
...
This removes the amount of stuff that needs to be passed around
Also removes some unneeded `ManagedFileSystem` usage
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
6 years ago
Erwin de Haan
22879a603e
Visual Studio Reformat: MediaBrowser.LocalMetadata
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
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
e7425e6205
revert servicestack.text update
7 years ago
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
7 years ago
Luke Pulverenti
6d78824c8e
update components
7 years ago
Luke Pulverenti
dc7a59c73a
ensure custom css is loaded last
7 years ago
Luke Pulverenti
65e8cf0726
improve live tv images
8 years ago
Luke Pulverenti
e2ec83cbaa
fix boxsets hanging up library scan
8 years ago
Luke Pulverenti
a39d7e888b
move xml providers to plugin
8 years ago
Luke Pulverenti
e91f569c15
update live tv startup
8 years ago
Luke Pulverenti
33014f77aa
update GetItems method
8 years ago
Luke Pulverenti
0beb803aed
add sample rate condition
8 years ago
Luke Pulverenti
d48496b843
add new search filters
8 years ago
Luke Pulverenti
696a6b34ea
improve smb support
8 years ago
Luke Pulverenti
f53472584e
update environment detection
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
6091e00e18
clean related files when deleting items
8 years ago