Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2022-12-07 16:43:59 +01:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Julius Vitkauskas
7d7401bf0f
Fix double assignment
2022-11-01 12:46:29 +02: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
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
2021-11-09 22:29:33 +01:00
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
2021-11-08 12:40:52 -07:00
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
2021-09-26 09:11:25 -06:00
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
2021-09-21 01:21:45 +02:00
Bond_009
a6d1e542e6
Reduce allocations
2021-09-19 20:53:31 +02:00
Bond_009
f1f72c3060
Minor improvements
2021-08-04 14:40:09 +02:00
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>
2021-05-05 13:37:36 +02:00
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
2021-03-13 22:33:28 +01:00
Bond_009
d07eef4f25
Add tests for NFO parsers
2021-01-09 15:00:59 +01:00
crobibero
38885ffd74
Fix nullability errors in MediaBrowser.LocalMetadata
2020-11-13 08:31:02 -07:00
crobibero
ef49e2b21c
Fix nullable string usage.
2020-06-26 13:20:49 -06:00
crobibero
14f32b4927
Remove warnings from MediaBrowser.LocalMetadata
2020-06-13 20:04:53 -06:00
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
2020-06-13 00:29:43 +09:00
aled
299e49f39d
Fix a small number of compile warnings
2020-06-09 23:12:53 +01:00
aled
22a860a806
Fix a small number of compile warnings
2020-06-06 20:17:49 +01:00
crobibero
44957c5a9a
Use typed logger where possible
2020-06-05 18:15:56 -06:00
Bond_009
87d2479b78
Fix warnings
2020-01-31 22:26:53 +01:00
Bond_009
ffd6dac03a
Remove useless comments
2019-03-07 12:24:44 +01:00
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
2019-03-07 12:04: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
a430568082
Unwrapped OpenRead
and CopyFile
2019-01-28 22:09:58 +01:00
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
2019-01-17 20:24:39 +01:00
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
2019-01-13 21:46:33 +01:00
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
2019-01-13 21:37:13 +01:00
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
2019-01-13 21:02:23 +01:00
Erwin de Haan
22879a603e
Visual Studio Reformat: MediaBrowser.LocalMetadata
2019-01-13 20:25:45 +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
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
2018-12-30 22:44:38 +01:00
Bond_009
6e5d2aadaa
Remove custom ToArray extension
2018-12-28 16:48:26 +01:00
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
e7425e6205
revert servicestack.text update
2017-08-10 14:01:31 -04:00
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
2017-08-09 15:56:38 -04:00
Luke Pulverenti
6d78824c8e
update components
2017-08-06 19:01:00 -04:00
Luke Pulverenti
dc7a59c73a
ensure custom css is loaded last
2017-07-23 18:29:53 -04:00
Luke Pulverenti
65e8cf0726
improve live tv images
2017-06-11 16:40:25 -04:00
Luke Pulverenti
e2ec83cbaa
fix boxsets hanging up library scan
2017-06-09 15:24:04 -04:00
Luke Pulverenti
a39d7e888b
move xml providers to plugin
2017-06-04 16:24:45 -04:00
Luke Pulverenti
e91f569c15
update live tv startup
2017-06-03 03:36:32 -04:00
Luke Pulverenti
33014f77aa
update GetItems method
2017-05-26 02:48:54 -04:00
Luke Pulverenti
0beb803aed
add sample rate condition
2017-05-13 15:31:25 -04:00
Luke Pulverenti
d48496b843
add new search filters
2017-05-06 15:45:23 -04:00
Luke Pulverenti
696a6b34ea
improve smb support
2017-05-04 14:14:45 -04:00
Luke Pulverenti
f53472584e
update environment detection
2017-04-29 02:22:33 -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
6091e00e18
clean related files when deleting items
2017-02-18 03:32:17 -05:00