aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-06-27 18:08:42 +0200
committerGitHub <noreply@github.com>2024-06-27 16:08:42 +0000
commit603c2c7e1b50d8b06c06848c3e83d241da9437e6 (patch)
tree2e04bdb57475c630170315678d789751bfeb6444 /ext/js/pages/settings
parent4e3f23e942252dacb31780de30f0233eccf1d9f8 (diff)
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>
Diffstat (limited to 'ext/js/pages/settings')
-rw-r--r--ext/js/pages/settings/audio-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/pages/settings/audio-controller.js b/ext/js/pages/settings/audio-controller.js
index 34d7adaa..ac79b51a 100644
--- a/ext/js/pages/settings/audio-controller.js
+++ b/ext/js/pages/settings/audio-controller.js
@@ -221,6 +221,7 @@ export class AudioController extends EventDispatcher {
'jpod101',
'jpod101-alternate',
'jisho',
+ 'lingua-libre',
'custom',
];
for (const type of typesAvailable) {
@@ -488,6 +489,7 @@ class AudioSourceEntry {
case 'jpod101':
case 'jpod101-alternate':
case 'jisho':
+ case 'lingua-libre':
case 'text-to-speech':
case 'text-to-speech-reading':
case 'custom':