Bond_009
48263078b4
Reduce string allocations by regex
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
jgriff6
08e71010ae
Clean up some ToList usage
2 years ago
ignacio laborde
c6bf6e00de
Remove unnecessary ToList usage
2 years ago
Bond_009
6aa9d44fb7
Use record for AudioBookFilePathParserResult
2 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
fde84a1e00
Refactor extras parsing
3 years ago
Bond_009
1f99c9b90c
Minor fixes
3 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
Bond_009
956ca0e5aa
100% branch coverage for Jellyfin.Naming
4 years ago
martinek-stepan
4bfcc8b0d1
Update Emby.Naming/AudioBook/AudioBookListResolver.cs
...
Use StringComparison.OrdinalIgnoreCase when comparing names
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
4 years ago
Stepan
3bca1181b3
Taken suggestions from code review and created test for ExtraRuleType.Regex instead of throwing exception there.
4 years ago
martinek-stepan
496923719c
Apply suggestions from code review
...
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
4 years ago
Stepan
693760e38a
Xml-doc part1
4 years ago
Stepan
c060ed1a18
Added resolving of alternative files and extras for audibooks.
4 years ago
Stepan
1e71775688
Add Name and Year parsing for audiobooks
4 years ago
Stepan
f39775dc3a
Written test to finish coverage for AudioBookListResolver & AudioBookResolver and corrected some logical erros / unhandled exception
4 years ago
Stepan
e7a37bedfc
Simplify AudioBookResolver since there is no option of passing directories into it (AudioResolver.cs:179) and handling directories were not implemented anyway
4 years ago
Stepan
6437cf6950
Removed Success property from AudioBookFilePathParserResult, since it was unused and consider only audiobooks that have chapter/page number in name makes no sense
4 years ago
Stepan
60b49e67ea
Re-Sharper inspection issues
4 years ago
Stepan
59619b6ea7
Enable nullable in Emby.Naming
4 years ago
Bond_009
74f4affcda
Fix AudioBookListResolver test coverage
4 years ago
Bond_009
228b33a23b
Minor improvements
4 years ago
Keridos
b9c7cce696
some testing for AudioBook
...
fix PartNumber detection
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
crobibero
261a2e1989
revert xml docs indentation
5 years ago
crobibero
cb68fbeb0a
Fix warnings in Emby.Naming
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
dc62e436c4
Clean up Emby.Naming
5 years ago
Bond_009
5a8e972952
Enable TreatWarningsAsErrors for some projects
...
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond-009
a6f9ceedd8
Fix more warnings
6 years ago
Bond_009
8af256f9c2
Fix always null expressions
6 years ago
Bond_009
722120af74
Remove conditions that are always true/false
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 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
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
5665933849
Visual Studio Reformat: Emby.Naming
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
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
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago