From 603c2c7e1b50d8b06c06848c3e83d241da9437e6 Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Thu, 27 Jun 2024 18:08:42 +0200 Subject: add lingua libre audio source (#1129) * add lingua libre audio source * mvp * run file requests in parallel * remove redundant language var * redundant api function --------- Co-authored-by: Cashew <52880648+cashewnuttynuts@users.noreply.github.com> --- ext/js/comm/api.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/js/comm') diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js index 7a98feb1..952b5bfa 100644 --- a/ext/js/comm/api.js +++ b/ext/js/comm/api.js @@ -147,10 +147,11 @@ export class API { * @param {import('api').ApiParam<'getTermAudioInfoList', 'source'>} source * @param {import('api').ApiParam<'getTermAudioInfoList', 'term'>} term * @param {import('api').ApiParam<'getTermAudioInfoList', 'reading'>} reading + * @param {import('api').ApiParam<'getTermAudioInfoList', 'languageSummary'>} languageSummary * @returns {Promise>} */ - getTermAudioInfoList(source, term, reading) { - return this._invoke('getTermAudioInfoList', {source, term, reading}); + getTermAudioInfoList(source, term, reading, languageSummary) { + return this._invoke('getTermAudioInfoList', {source, term, reading, languageSummary}); } /** -- cgit v1.2.3