mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
New: Use Goodreads directly, allow multiple editions of a book (new DB required)
This commit is contained in:
@@ -72,17 +72,13 @@ namespace NzbDrone.Core.IndexerSearch
|
||||
var searchSpec = Get<BookSearchCriteria>(author, new List<Book> { book }, userInvokedSearch, interactiveSearch);
|
||||
|
||||
searchSpec.BookTitle = book.Title;
|
||||
searchSpec.BookIsbn = book.Isbn13;
|
||||
|
||||
// searchSpec.BookIsbn = book.Isbn13;
|
||||
if (book.ReleaseDate.HasValue)
|
||||
{
|
||||
searchSpec.BookYear = book.ReleaseDate.Value.Year;
|
||||
}
|
||||
|
||||
if (book.Disambiguation.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
searchSpec.Disambiguation = book.Disambiguation;
|
||||
}
|
||||
|
||||
return Dispatch(indexer => indexer.Fetch(searchSpec), searchSpec);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user