mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-05 22:46:27 +01:00
New data model Book media type contains Audiobooks updates
This commit is contained in:
1 parent
1dde02b170
commit
c4eeb1cfb7
30 files changed
+347
-247
No files matched your search
@@ -116,6 +116,10 @@ class Book {
|
||||
return true
|
||||
}
|
||||
|
||||
getAudiobookById(audiobookId) {
|
||||
return this.audiobooks.find(ab => ab.id === audiobookId)
|
||||
}
|
||||
|
||||
removeFileWithInode(inode) {
|
||||
var audiobookWithIno = this.audiobooks.find(ab => ab.findFileWithInode(inode))
|
||||
if (audiobookWithIno) {
|
||||
|
||||
Reference in new issue
Block a user