mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-15 17:52:25 +02: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