mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 19:32:45 +01:00
Update:Prefer epub ebook file when setting ebook #1825, validate ebookLocation
This commit is contained in:
1 parent
9547824aaa
commit
fde07d26e5
4 files changed
+27
-12
No files matched your search
@@ -50,6 +50,10 @@ class LibraryFile {
|
||||
return this.fileType === 'audio' || this.fileType === 'ebook' || this.fileType === 'video'
|
||||
}
|
||||
|
||||
get isEBookFile() {
|
||||
return this.fileType === 'ebook'
|
||||
}
|
||||
|
||||
get isOPFFile() {
|
||||
return this.metadata.ext === '.opf'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user