Update:Custom metadata provider adapter sends mediaType as a query param

This commit is contained in:
advplyr 2024-02-12 17:12:49 -06:00
parent ce7f81d676
commit 4e3e7b10ce
2 changed files with 16 additions and 3 deletions

View file

@ -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