Special Markers (#305)

* Removed "Anthology" from being a special parsing keyword as series are being found where "Anthology" is in the series name.

* SP# is now a way to force the file to be a special rather than pushing it into a Specials folder.
This commit is contained in:
Joseph Milazzo 2021-06-14 17:35:13 -05:00 committed by GitHub
parent f8aba21acd
commit 46b60405b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -374,6 +374,10 @@ namespace API.Parser
new Regex(
@"(?<Special>Specials?|OneShot|One\-Shot|Omake|Extra( Chapter)?|Art Collection|Side( |_)Stories|Bonus)",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
// If SP\d+ is in the filename, we force treat it as a special regardless if volume or chapter might have been found.
new Regex(
@"(?<Special>SP\d+)",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
};