Bulk Operations for In Progress and Recently Added (#677)
* Don't log a message about bad match if the file is a cover image * Enable bulk operations for In Progress and Recently Added * Fixed a bad logic case
This commit is contained in:
parent
ef383295f0
commit
98e5cb87ed
6 changed files with 149 additions and 35 deletions
|
@ -73,7 +73,8 @@ namespace API.Services.Tasks.Scanner
|
|||
info = Parser.Parser.Parse(path, rootPath, type);
|
||||
}
|
||||
|
||||
if (info == null)
|
||||
// If we couldn't match, log. But don't log if the file parses as a cover image
|
||||
if (info == null || !(Parser.Parser.IsImage(path) || Parser.Parser.IsCoverImage(path)))
|
||||
{
|
||||
_logger.LogWarning("[Scanner] Could not parse series from {Path}", path);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue