cvium
83a94aa612
Fix extras folders
3 years ago
cvium
220443eca1
Simplify StackResolver
3 years ago
cvium
6030946d78
Fixes
3 years ago
cvium
fde84a1e00
Refactor extras parsing
3 years ago
Claus Vium
2c42d75288
Merge pull request #6027 from fredriklindberg/improve-series-matching
3 years ago
Claus Vium
a9c38870f9
Merge pull request #6379 from dearjoey/master
3 years ago
dependabot[bot]
baafa10e87
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Claus Vium
39d5bdac96
Change ReadOnlySpan to string following PR 6383 ( #6734 )
3 years ago
Claus Vium
dc72d90703
Merge pull request #6383 from sushilicious/master
...
Made default parser a tiny bit mroe robust
3 years ago
Bond_009
67147400bf
Fix issue #6123
3 years ago
KonH
b6bf43af45
Fix warning: Using directive is not required by the code and can be safely removed ( #2149 )
3 years ago
Bond-009
8858d8e597
Merge branch 'master' into theorydata
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Fredrik Lindberg
ea439c5ccf
Improve series name matching
...
Add a series path resolver that attempts to extract only the series
name from a path that contains more information that just the name.
3 years ago
ianjazz246
19b8bcaec4
Use TheoryData instead of MemberData and ClassData
3 years ago
dependabot[bot]
ee37784a35
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Bond-009
971c2bc7de
Merge pull request #6328 from Bond-009/epparser
...
Improve episode parser
3 years ago
sushilicious
26f8b501e7
Made CleanStringParser more robust
...
Now it can handle [...] at beginning of string
3 years ago
joey
0c9b64de4b
optimize episode parser
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
dependabot[bot]
33359d45be
Bump coverlet.collector from 3.0.3 to 3.1.0
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.1.0 )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Bond_009
ef3b651aad
Improve episode parser
3 years ago
Bond_009
b202bfebce
Fix episode parser
3 years ago
Bond-009
cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram
3 years ago
dependabot[bot]
38ebd6147a
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
cvium
1027792b16
Review changes
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
dependabot[bot]
7c70205326
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.9.1 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.9.4 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
cvium
23c3188501
revert underscore as a multiversion separator
4 years ago
Bond-009
d7f0aaaec1
Merge pull request #5417 from Bond-009/codeanal
...
Add code analysis attributes where appropriate
4 years ago
cvium
7d69c2550c
fix copy/paste error in test
4 years ago
cvium
b0af11c34e
make the eligibility check more strict wrt. brackets
4 years ago
cvium
3824c09e77
fix multiversion eligibility check for complex folder names
4 years ago
Bond_009
d202df6e8a
Remove useless line
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
Bond_009
5241bd41ef
Add code analysis attributes where appropriate
4 years ago
cvium
e0db17a935
do not throw ArgumentNullException in TryCleanString
4 years ago
dependabot[bot]
829442c419
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
d033c30cd7
Bump coverlet.collector from 3.0.2 to 3.0.3
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond_009
54eee41207
Fix broken test
4 years ago
dkanada
2e9661c415
Merge pull request #5043 from senritsu/improve-episode-number-parsing-with-digits-in-names
...
adjust episode path expression to allow digits in series names
4 years ago
dependabot[bot]
09471a206a
Bump coverlet.collector from 3.0.1 to 3.0.2
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond-009
3806cc5b3f
Merge pull request #5074 from jellyfin/cov
...
100% branch coverage for Jellyfin.Naming
4 years ago
Bond_009
956ca0e5aa
100% branch coverage for Jellyfin.Naming
4 years ago
dependabot[bot]
0cb80d3815
Bump coverlet.collector from 3.0.0 to 3.0.1
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
senritsu
4e21b49994
adjust episode path expression to allow digits in series names
...
The previous expression was too greedy to consume digits, because the hyphen was optional. This lead to incorrect episode numbers for certain series with digits in their names, in those cases each episode was recognized as the same episode number (the digit from the series name).
The rule, which matches most standard anime filenames, also had a lower priority than one of the Kodi rules, leading to incorrect recognition for absolute numbered episodes with triple digits and higher (first digit was used as season number, rest of digits as episode number). This also resolves one of the TODO test cases.
Additional test cases were added to ensure that both hyphens in different parts of the filename, as well as names without hyphens, still work correctly. All previous test cases still pass.
Unfortunately another TODO (EpisodeNumberTests.cs@L76, Uchuu Senkan Yamato 2199) with the same issue (digits in the series name) could not be trivially fixed in the same change, due to the significantly different formatting. Attempts to resolve this case did not work out for now.
4 years ago
dependabot[bot]
b00f3334f2
Bump coverlet.collector from 1.3.0 to 3.0.0
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 1.3.0 to 3.0.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
3e062bc0cd
Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.8.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.8.3 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
crobibero
f512d5167d
Remove broken CleanDateTimes regex
4 years ago
crobibero
5b8e248d72
Merge remote-tracking branch 'upstream/master' into video-resolver
4 years ago
BaronGreenback
2bbfcc264d
Merge branch 'master' into emby-namig-nullable
4 years ago
Stepan
3bca1181b3
Taken suggestions from code review and created test for ExtraRuleType.Regex instead of throwing exception there.
4 years ago
Stepan
195a6261c4
Dummy test case explanation.
4 years ago
Stepan
158eff62d7
Xml-doc part2
4 years ago
crobibero
83629ab6f2
Update packages to net5
4 years ago
dependabot[bot]
e15891df51
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Stepan
3d1076ae42
Rest of tests for Emby.Naming code coverage
4 years ago
Stepan
f22e0800e2
Episode parsing coverage
4 years ago
Stepan
3466dc5581
Finish coverage for Emby.Naming.Video
4 years ago
Stepan
5741150367
Enable MultiVersion video tests and added support for naming based on tests 11 & 8
4 years ago
Stepan
c96aa0551d
Added NamingOptions tests
4 years ago
Stepan
aef1fe62c2
Complete test coverage for Emby.Naming.Subtitles
4 years ago
Stepan
c060ed1a18
Added resolving of alternative files and extras for audibooks.
4 years ago
Stepan
7b6363b09a
Update test for detecting audiobooks extras and alternative files
4 years ago
Stepan
1e71775688
Add Name and Year parsing for audiobooks
4 years ago
Stepan
50a2ef9d8a
Simplify Resolve_InvalidExtension Test and created tests for Alternative Versions parsing & Year Extraction 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
60b49e67ea
Re-Sharper inspection issues
4 years ago
Stepan
59619b6ea7
Enable nullable in Emby.Naming
4 years ago
BaronGreenback
d42bb515ce
Merge branch 'master' into video-resolver
4 years ago
Bond_009
74f4affcda
Fix AudioBookListResolver test coverage
4 years ago
Bond_009
228b33a23b
Minor improvements
4 years ago
Keridos
ba777039ef
remove unnecessary nullchecks
4 years ago
Keridos
8eb1eedc8d
implement suggested changes
4 years ago
Keridos
b9c7cce696
some testing for AudioBook
...
fix PartNumber detection
4 years ago
Bond-009
6d154041b9
Merge pull request #3880 from DirtyRacer1337/datetime
...
Fix year parsing
4 years ago
crobibero
b216b91e21
Bump Microsoft.NET.Test.Sdk and add missing reference
4 years ago
crobibero
6709645ec9
bump deps
4 years ago
DirtyRacer1337
6ac8955715
Add tests
4 years ago
dependabot[bot]
4fd2b7a879
Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.6.1 to 16.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.6.1...v16.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
979137f567
Bump coverlet.collector from 1.2.1 to 1.3.0
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
telans
bf5b21e67b
enable code analyzers for tests
4 years ago
dependabot[bot]
a4de0bb373
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.5.0 to 16.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.5.0...v16.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Erik Rigtorp
82ff3fa75d
Add additional resolver tests
4 years ago
aled
3ff6e3ff65
Add code analyzers to Jellyfin.Naming.Tests and fix resulting warnings
5 years ago
aled
2849d2b134
Fix compile warnings in Jellyfin.Naming.Tests
5 years ago
Anthony Lavado
0e11646107
Merge pull request #2950 from Bond-009/videoresolver
...
Fix VideoResolver and tests
5 years ago
Vasily
aff65adca9
Merge pull request #2917 from Bond-009/tests
...
Improved tests
5 years ago
Bond_009
99fe8dbe62
Remove BaseVideoTest
5 years ago
Bond_009
da17a1201f
Please roslyn
5 years ago
Bond_009
a273ed9a57
Address comments
5 years ago
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
5 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
5 years ago
Bond_009
851dda097e
Minor improvement
5 years ago
Bond_009
735e7c3f7d
Fix VideoResolver and tests
5 years ago
Bond_009
e21d6160c1
Address comments
5 years ago
Bond_009
fc3e2baccc
Address comments
5 years ago
Bond_009
d99536e99f
Improved tests
5 years ago
Delgan
be6cc9644f
Another iteration
5 years ago