Bond_009
f1f72c3060
Minor improvements
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
Bond_009
ef3b651aad
Improve episode parser
3 years ago
Claus Vium
d55b152e86
Merge pull request #6297 from Bond-009/parser
...
Fix episode parser
3 years ago
Bond_009
b9b4f3aa85
Add h265 to CleanStrings
3 years ago
Bond_009
b202bfebce
Fix episode parser
3 years ago
Bond_009
1f99c9b90c
Minor fixes
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
cvium
66de842896
Use stackalloc in Format3DParser.Parse
3 years ago
Claus Vium
3b5214e595
Update Emby.Naming/Video/VideoListResolver.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
cvium
1027792b16
Review changes
4 years ago
cvium
415e8fc0f3
Forward
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
cvium
381db60ed3
fix test
4 years ago
cvium
457229c56d
Simplification
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
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
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
Bond_009
5241bd41ef
Add code analysis attributes where appropriate
4 years ago
cvium
fcacae8cde
return empty span instead of null for backwards compat
4 years ago
cvium
e0db17a935
do not throw ArgumentNullException in TryCleanString
4 years ago
dkanada
13d65318eb
Merge pull request #5223 from Bond-009/minor10
...
Minor improvements
4 years ago
Bond_009
8a6242826f
100% branch coverage for Emby.Naming
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
dkanada
995b370017
Merge pull request #4663 from joshuaboniface/bump-version-10.8.0
...
Bump version to 10.8.0 for next release
4 years ago
Bond_009
88f37833df
Remove last usage of \d
4 years ago
dkanada
aea1c4f310
Merge pull request #5142 from M0ssTee/updateRegex
...
Replaced /d with [0-9], see issue #2923
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
Troy
8c640a1492
Replaced /d with [0-9], see issue #2923
4 years ago
Bond_009
956ca0e5aa
100% branch coverage for Jellyfin.Naming
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
Joshua M. Boniface
5f2cd11199
Bump version to 10.8.0 for next release
4 years ago
crobibero
20251e670f
Fix tests
4 years ago
crobibero
2aefe9ed5a
Only trim file name if folder name is shorter
4 years ago
Greenback
e51ddd326c
Fixes spelling.
4 years ago
martinek-stepan
04a712ab1d
Update Emby.Naming/Video/VideoFileInfo.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Stepan
d481c35cad
Merge fix
4 years ago
BaronGreenback
2bbfcc264d
Merge branch 'master' into emby-namig-nullable
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
b66239fd52
One more missed suggestions (removing commented out code)
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
158eff62d7
Xml-doc part2
4 years ago
crobibero
83629ab6f2
Update packages to net5
4 years ago
Stepan
693760e38a
Xml-doc part1
4 years ago
Stepan
c0747512d6
Merge remote-tracking branch 'jellyfin/master' into emby-namig-nullable
4 years ago
crobibero
78551d166a
Don't throw exception if name is null
4 years ago
Stepan
f22e0800e2
Episode parsing coverage
4 years ago
Stepan
e96e480f01
Add comment with match cases for weir EpisodeExpression and named group for some date EpisodeExpressions
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
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
Bond-009
6d154041b9
Merge pull request #3880 from DirtyRacer1337/datetime
...
Fix year parsing
4 years ago
Erwin de Haan
346581bb2a
Fixes for CI Nuget package pushing and CI triggers
...
Also adds SourceLink support and symbols that are pushed to Nuget.
Add symbols to main nuget packages for unstable builds (Azure Artifacts does not support symbols outside of the main package)
SourceLink will enable stepping during debugging.
4 years ago
crobibero
b02650ec2f
use proper spdx
4 years ago
crobibero
5f60da29c7
switch to spdx
4 years ago
crobibero
670c41ee89
Properly pack project license
4 years ago
David
b92fbe4d69
Use VersionPrefix
4 years ago
David
a61f6e3308
Fix nuget ci
4 years ago
DirtyRacer1337
f5d90949cf
Replace \d to [0-9]
4 years ago
DirtyRacer1337
1259fe2d50
Add date filter
4 years ago
DirtyRacer1337
c2f901acfe
Fix year parsing
4 years ago
Bond-009
3ff110984a
Merge branch 'master' into readonlyspan
4 years ago
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
4 years ago
Bond_009
e98351b912
Replace \d with [0-9] in ffmpeg detection and scan code
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
Bond-009
f0d182b8fe
Merge pull request #3046 from puschie286/add-clean-name-tag
...
allow bd tag in file names
5 years ago
Vasily
ce16651dbd
Fix a check broken by https://github.com/jellyfin/jellyfin/pull/2105
5 years ago
Anthony Lavado
0e11646107
Merge pull request #2950 from Bond-009/videoresolver
...
Fix VideoResolver and tests
5 years ago
Christoph Potas
7d3eaea3fa
+ add bd tag to clean string regex
...
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
5 years ago
Vasily
aff65adca9
Merge pull request #2917 from Bond-009/tests
...
Improved tests
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
735e7c3f7d
Fix VideoResolver and tests
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
Delgan
90d289f946
Fix failing tests?
5 years ago
Delgan
5c117734a5
Improve movie resolver if space precedes the year
5 years ago
Mark Monteiro
7be4b57fe7
Fix documentation for ExtraRuleType enum values
5 years ago
Mark Monteiro
1a4d9d4c53
Code review suggestions
5 years ago
Mark Monteiro
377f9896ce
Small fixes
5 years ago
Mark Monteiro
4ff8d30e41
Document ExtraRule properly
5 years ago