mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-06 18:52:43 +02:00
New data model fix scan for creating series/authors and mapping ebooks
This commit is contained in:
@@ -341,5 +341,11 @@ class Book {
|
||||
}
|
||||
return payload
|
||||
}
|
||||
|
||||
addEbookFile(libraryFile) {
|
||||
var newEbook = new EBookFile()
|
||||
newEbook.setData(libraryFile)
|
||||
this.ebookFiles.push(newEbook)
|
||||
}
|
||||
}
|
||||
module.exports = Book
|
||||
Reference in New Issue
Block a user