mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-25 05:14:40 +02:00
Update async function, update debug log
This commit is contained in:
parent
059d6d96a7
commit
2b3688b141
2 changed files with 5 additions and 5 deletions
|
@ -169,7 +169,7 @@ class BookFinder {
|
|||
var books = []
|
||||
var maxTitleDistance = !isNaN(options.titleDistance) ? Number(options.titleDistance) : 4
|
||||
var maxAuthorDistance = !isNaN(options.authorDistance) ? Number(options.authorDistance) : 4
|
||||
Logger.debug(`Cover Search: title: "${title}", author: "${author}", provider: ${provider}`)
|
||||
Logger.debug(`Book Search: title: "${title}", author: "${author}", provider: ${provider}`)
|
||||
|
||||
if (provider === 'google') {
|
||||
return this.getGoogleBooksResults(title, author, maxTitleDistance, maxAuthorDistance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue