feat(animetosho): add English/Japanese subtitle download integration (#159)

This commit is contained in:
sudacode authored and GitHub committed 2026-07-12 00:48:12 -07:00
1 parent 6ab3d823a4
commit 4b7f750919
80 files changed
+2647 -13

No files matched your search

+5
View File
@@ -16,6 +16,7 @@ export function createKeyboardHandlers(
handleSubsyncKeydown: (e: KeyboardEvent) => boolean;
handleKikuKeydown: (e: KeyboardEvent) => boolean;
handleJimakuKeydown: (e: KeyboardEvent) => boolean;
handleAnimetoshoKeydown: (e: KeyboardEvent) => boolean;
handleYoutubePickerKeydown: (e: KeyboardEvent) => boolean;
handlePlaylistBrowserKeydown: (e: KeyboardEvent) => boolean;
handleControllerSelectKeydown: (e: KeyboardEvent) => boolean;
@@ -1119,6 +1120,10 @@ export function createKeyboardHandlers(
options.handleJimakuKeydown(e);
return;
}
if (ctx.state.animetoshoModalOpen) {
options.handleAnimetoshoKeydown(e);
return;
}
if (ctx.state.youtubePickerModalOpen) {
if (options.handleYoutubePickerKeydown(e)) {
return;