mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 12:24:56 +02:00
Emit update when cover is updated
This commit is contained in:
parent
51357195e2
commit
6e8270c5ea
3 changed files with 3 additions and 2 deletions
|
@ -200,6 +200,7 @@ class Scanner {
|
|||
audiobook.book.cover = results[0]
|
||||
await this.db.updateAudiobook(audiobook)
|
||||
found++
|
||||
this.emitter('audiobook_updated', audiobook.toJSONMinified())
|
||||
} else {
|
||||
notFound++
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue