mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-06 15:06:30 +01:00
Emit update when cover is updated
This commit is contained in:
1 parent
e230cb47e8
commit
6ca7e9e6a6
3 files changed
+3
-2
No files matched your search
@@ -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++
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user