mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
Fixed: Add missing author when a book's author changes in metadata
Fixes READARR-VH
This commit is contained in:
@@ -29,6 +29,7 @@ namespace Readarr.Api.V1.Author
|
||||
IHandle<BookImportedEvent>,
|
||||
IHandle<BookEditedEvent>,
|
||||
IHandle<BookFileDeletedEvent>,
|
||||
IHandle<AuthorAddedEvent>,
|
||||
IHandle<AuthorUpdatedEvent>,
|
||||
IHandle<AuthorEditedEvent>,
|
||||
IHandle<AuthorDeletedEvent>,
|
||||
@@ -255,6 +256,12 @@ namespace Readarr.Api.V1.Author
|
||||
BroadcastResourceChange(ModelAction.Updated, GetAuthorResource(message.BookFile.Author.Value));
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public void Handle(AuthorAddedEvent message)
|
||||
{
|
||||
BroadcastResourceChange(ModelAction.Updated, GetAuthorResource(message.Author));
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public void Handle(AuthorUpdatedEvent message)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user