Stepan Goremykin
6ae1903453
Use TryAdd
2 years ago
Stepan Goremykin
9d738bb601
Remove redundant ToString call
2 years ago
Bond-009
9c500bdca3
Merge pull request #9466 from Shadowghost/playlist-fix
2 years ago
Cody Robibero
89be3aa37f
Convert Person.Type to use PersonKind enum ( #9487 )
2 years ago
Shadowghost
76ae599bd3
Fix playlist creation and removal
2 years ago
Bond_009
24a7e210c3
Optimize tryparse
...
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2 years ago
Zoltan Csizmadia
e0519189b2
Use Directory.Packages.props ( #9135 )
...
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2 years ago
renovate[bot]
e408da4651
chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to v3.3.4 ( #9117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
236dd650d0
Update projects to .net7
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
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
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
Claus Vium
488ce51032
Remove some allocations ( #7246 )
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
3 years ago
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
83a94aa612
Fix extras folders
3 years ago
Claus Vium
e575d815cc
Update MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs
...
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
3 years ago
cvium
3a4e7fb075
semi undo
3 years ago
cvium
fde84a1e00
Refactor extras parsing
3 years ago
cvium
b50c3852ef
Remove unused dependencies
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
3 years ago
Bond_009
924c6682b9
Remove unused IHasScreenshots interface
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
f1f72c3060
Minor improvements
3 years ago
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
BaronGreenback
97c2c523a8
Merge branch 'master' into comparisons
4 years ago
Bond_009
4367b97a54
Fix build
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
BaronGreenback
e682c230bd
Merge branch 'master' into comparisons
4 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