mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
New: Use Goodreads directly, allow multiple editions of a book (new DB required)
This commit is contained in:
@@ -144,7 +144,7 @@ namespace NzbDrone.Core.Extras.Metadata
|
||||
foreach (var filePath in distinctTrackFilePaths)
|
||||
{
|
||||
var metadataFilesForConsumer = GetMetadataFilesForConsumer(consumer, metadataFiles)
|
||||
.Where(m => m.BookId == filePath.BookId)
|
||||
.Where(m => m.BookId == filePath.EditionId)
|
||||
.Where(m => m.Type == MetadataType.BookImage || m.Type == MetadataType.BookMetadata)
|
||||
.ToList();
|
||||
|
||||
@@ -287,7 +287,7 @@ namespace NzbDrone.Core.Extras.Metadata
|
||||
new MetadataFile
|
||||
{
|
||||
AuthorId = author.Id,
|
||||
BookId = bookFile.BookId,
|
||||
BookId = bookFile.EditionId,
|
||||
BookFileId = bookFile.Id,
|
||||
Consumer = consumer.GetType().Name,
|
||||
Type = MetadataType.BookMetadata,
|
||||
|
||||
Reference in New Issue
Block a user