From 0bc92ab7d12b4cd27c48e76563363f239762d19c Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 13 Jul 2026 01:26:32 -0700 Subject: [PATCH] fix(tsukihime): finish rename outside src and harden API base URL CodeRabbit caught that the rename stopped at src/, leaving the mpv plugin emitting the old CLI flag. - plugin/subminer/session_bindings.lua: openTsukihime -> --open-tsukihime (the old flag no longer exists, so the overlay shortcut was a no-op) - docs-site: rename the integration page, nav entry, and shortcuts row; rewrite the page for the TsukiHime API rather than find-and-replace - changes/: rename the changeset and describe TsukiHime - config.example.jsonc (+ docs-site copy): regenerated from definitions - settings registry: route tsukihime.* to Integrations with the branded TsukiHime label (it was falling through to Advanced) - tsukihimeFetchJson: apiBaseUrl is user config, so a malformed or non-HTTP(S) value now returns a structured error instead of throwing --- changes/animetosho-english-subtitles.md | 4 -- changes/tsukihime-english-subtitles.md | 4 ++ config.example.jsonc | 16 ++--- docs-site/.vitepress/config.ts | 2 +- docs-site/animetosho-integration.md | 73 ----------------------- docs-site/public/config.example.jsonc | 16 ++--- docs-site/shortcuts.md | 2 +- docs-site/tsukihime-integration.md | 77 +++++++++++++++++++++++++ plugin/subminer/session_bindings.lua | 4 +- src/config/settings/registry.test.ts | 2 + src/config/settings/registry.ts | 3 +- src/tsukihime/fetch-limits.test.ts | 16 +++++ src/tsukihime/utils.ts | 13 ++++- 13 files changed, 133 insertions(+), 99 deletions(-) delete mode 100644 changes/animetosho-english-subtitles.md create mode 100644 changes/tsukihime-english-subtitles.md delete mode 100644 docs-site/animetosho-integration.md create mode 100644 docs-site/tsukihime-integration.md diff --git a/changes/animetosho-english-subtitles.md b/changes/animetosho-english-subtitles.md deleted file mode 100644 index 60907887..00000000 --- a/changes/animetosho-english-subtitles.md +++ /dev/null @@ -1,4 +0,0 @@ -type: added -area: overlay - -- Added an Animetosho integration for downloading English (and Japanese) subtitles, mirroring the Jimaku flow: `Ctrl+Shift+T` (configurable via `shortcuts.openAnimetosho`) opens an in-overlay modal with two language tabs (the first follows `secondarySub.secondarySubLanguages`, defaulting to English; the second is Japanese) that parses the current video filename, searches Animetosho releases, lists extracted text subtitle tracks filtered by the active tab, then downloads the chosen track, decompresses it (requires the `xz` binary), saves it next to the video with a language suffix (`