Regression Fix (#680)
* Ensure we mount the backups directory for Docker users * Fixed a huge logic bug that deleted files in users libraries
This commit is contained in:
parent
be3036665f
commit
d5d03528d4
2 changed files with 19 additions and 2 deletions
|
@ -74,9 +74,12 @@ namespace API.Services.Tasks.Scanner
|
|||
}
|
||||
|
||||
// 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)))
|
||||
if (info == null)
|
||||
{
|
||||
_logger.LogWarning("[Scanner] Could not parse series from {Path}", path);
|
||||
if (!(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