mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 03:15:58 +02:00
New data model Book media type contains Audiobooks updates
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user