mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 02:45:02 +02:00
Update:Custom metadata provider adapter sends mediaType as a query param
This commit is contained in:
parent
ce7f81d676
commit
4e3e7b10ce
2 changed files with 16 additions and 3 deletions
|
@ -157,7 +157,7 @@ class BookFinder {
|
|||
* @returns {Promise<Object[]>}
|
||||
*/
|
||||
async getCustomProviderResults(title, author, providerSlug) {
|
||||
const books = await this.customProviderAdapter.search(title, author, providerSlug)
|
||||
const books = await this.customProviderAdapter.search(title, author, providerSlug, 'book')
|
||||
if (this.verbose) Logger.debug(`Custom provider '${providerSlug}' Search Results: ${books.length || 0}`)
|
||||
|
||||
return books
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue