From 8c50b866ff9c22eb17fcf57e1c10c996ef129757 Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 11 Mar 2021 21:07:36 +0000 Subject: [PATCH] Fixed: Adding book from list --- src/NzbDrone.Core/Books/Services/AddBookService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NzbDrone.Core/Books/Services/AddBookService.cs b/src/NzbDrone.Core/Books/Services/AddBookService.cs index e31eda7b6..152aec411 100644 --- a/src/NzbDrone.Core/Books/Services/AddBookService.cs +++ b/src/NzbDrone.Core/Books/Services/AddBookService.cs @@ -129,6 +129,9 @@ namespace NzbDrone.Core.Books newBook.Editions.Value.ForEach(x => x.Monitored = false); newBook.Editions.Value.Single(x => x.ForeignEditionId == editionId).Monitored = true; + var metadata = tuple.Item3.FirstOrDefault(x => x.ForeignAuthorId == tuple.Item1); + newBook.AuthorMetadata = metadata; + return newBook; } }