mirror of
https://github.com/Readarr/Readarr
synced 2026-01-22 15:31:29 +01:00
Fixed: Metadata files not being created after rescan
(cherry picked from commit e2ff089232765b876719b324e0543441e0bd1521)
This commit is contained in:
parent
ac2d439ae4
commit
cefa4ddbbc
2 changed files with 5 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ public MediaCoversUpdatedEvent(Author author, bool updated)
|
|||
public MediaCoversUpdatedEvent(Book book, bool updated)
|
||||
{
|
||||
Book = book;
|
||||
Updated = updated;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -286,7 +286,10 @@ public void Handle(AuthorRenamedEvent message)
|
|||
[NonAction]
|
||||
public void Handle(MediaCoversUpdatedEvent message)
|
||||
{
|
||||
BroadcastResourceChange(ModelAction.Updated, GetAuthorResource(message.Author));
|
||||
if (message.Updated)
|
||||
{
|
||||
BroadcastResourceChange(ModelAction.Updated, GetAuthorResource(message.Author));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue