New: Release parser improvements

This commit is contained in:
ta264
2021-03-22 21:28:14 +00:00
parent ad2b3e5cc5
commit 98611c7d02
4 changed files with 29 additions and 17 deletions
@@ -30,12 +30,6 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.Search
return Decision.Accept();
}
if (Parser.Parser.CleanAuthorName(singleBookSpec.BookTitle) != Parser.Parser.CleanAuthorName(remoteBook.ParsedBookInfo.BookTitle))
{
_logger.Debug("Book does not match searched book title, skipping.");
return Decision.Reject("Wrong book");
}
if (!remoteBook.ParsedBookInfo.BookTitle.Any())
{
_logger.Debug("Full discography result during single book search, skipping.");