Implemented the ability to read format tag and force special status. (#1284)
This commit is contained in:
parent
a0e1ba8d67
commit
1a128a3af4
4 changed files with 29 additions and 1 deletions
|
@ -122,6 +122,13 @@ namespace API.Services.Tasks.Scanner
|
|||
info.SeriesSort = info.ComicInfo.TitleSort.Trim();
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(info.ComicInfo.Format) && Parser.Parser.HasComicInfoSpecial(info.ComicInfo.Format))
|
||||
{
|
||||
info.IsSpecial = true;
|
||||
info.Chapters = Parser.Parser.DefaultChapter;
|
||||
info.Volumes = Parser.Parser.DefaultVolume;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(info.ComicInfo.SeriesSort))
|
||||
{
|
||||
info.SeriesSort = info.ComicInfo.SeriesSort.Trim();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue