mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
New data model fix scan for creating series/authors and mapping ebooks
This commit is contained in:
parent
ea9ec13845
commit
6597fca576
7 changed files with 134 additions and 50 deletions
|
@ -341,5 +341,11 @@ class Book {
|
|||
}
|
||||
return payload
|
||||
}
|
||||
|
||||
addEbookFile(libraryFile) {
|
||||
var newEbook = new EBookFile()
|
||||
newEbook.setData(libraryFile)
|
||||
this.ebookFiles.push(newEbook)
|
||||
}
|
||||
}
|
||||
module.exports = Book
|
Loading…
Add table
Add a link
Reference in a new issue