New data model change of Book media type to include array of Audiobook and Ebook objects

This commit is contained in:
advplyr 2022-03-16 19:15:25 -05:00
parent 0af6ad63c1
commit 4fe60465e5
13 changed files with 677 additions and 334 deletions

View file

@ -49,6 +49,9 @@ class FileMetadata {
if (!this.ext) return ''
return this.ext.slice(1)
}
get filenameNoExt() {
return this.filename.replace(this.ext, '')
}
update(payload) {
var hasUpdates = false