mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-20 13:53:19 +01:00
New api routes, updating web client pages, audiobooks to libraryItem migration
This commit is contained in:
@@ -41,5 +41,10 @@ class FileMetadata {
|
||||
clone() {
|
||||
return new FileMetadata(this.toJSON())
|
||||
}
|
||||
|
||||
get format() {
|
||||
if (!this.ext) return ''
|
||||
return this.ext.slice(1)
|
||||
}
|
||||
}
|
||||
module.exports = FileMetadata
|
||||
Reference in New Issue
Block a user