mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
Fixed: Prevent books being added with AuthorMetadataId 0
(cherry picked from commit 0c227d0f21e3803c6293fd5988e48ea010483cad)
This commit is contained in:
@@ -747,6 +747,7 @@ namespace NzbDrone.Core.MetadataSource.Goodreads
|
||||
|
||||
book.Author = author;
|
||||
book.AuthorMetadata = book.Author.Value.Metadata.Value;
|
||||
book.AuthorMetadataId = author.AuthorMetadataId;
|
||||
book.CleanTitle = book.Title.CleanAuthorName();
|
||||
}
|
||||
|
||||
@@ -833,6 +834,7 @@ namespace NzbDrone.Core.MetadataSource.Goodreads
|
||||
|
||||
book.Author = author;
|
||||
book.AuthorMetadata = book.Author.Value.Metadata.Value;
|
||||
book.AuthorMetadataId = author.AuthorMetadataId;
|
||||
book.CleanTitle = book.Title.CleanAuthorName();
|
||||
book.SeriesLinks = MapSearchSeries(resource.Title, resource.BookTitleBare);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user