New data model Book media type contains Audiobooks updates

This commit is contained in:
advplyr
2022-03-17 12:25:12 -05:00
parent 1dde02b170
commit c4eeb1cfb7
30 changed files with 347 additions and 247 deletions

View File

@@ -137,7 +137,7 @@ class Book {
return hasUpdated
}
try {
var { authorLF, authorFL } = parseAuthors(author)
var { authorLF, authorFL } = parseAuthors.parse(author)
var hasUpdated = authorLF !== this.authorLF || authorFL !== this.authorFL
this.authorFL = authorFL || null
this.authorLF = authorLF || null
@@ -155,7 +155,7 @@ class Book {
return hasUpdated
}
try {
var { authorFL } = parseAuthors(narrator)
var { authorFL } = parseAuthors.parse(narrator)
var hasUpdated = authorFL !== this.narratorFL
this.narratorFL = authorFL || null
return hasUpdated