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
This commit is contained in:
2026-07-13 01:26:32 -07:00
parent b5eb20e8fe
commit 0bc92ab7d1
13 changed files with 133 additions and 99 deletions
+8 -8
View File
@@ -205,7 +205,7 @@
"openCharacterDictionaryManager": "CommandOrControl+D", // Accelerator that opens the character dictionary manager modal.
"openRuntimeOptions": "CommandOrControl+Shift+O", // Accelerator that opens the runtime options modal.
"openJimaku": "Ctrl+Shift+J", // Accelerator that opens the Jimaku subtitle search modal.
"openAnimetosho": "Ctrl+Shift+T", // Accelerator that opens the Animetosho subtitle search modal (English/Japanese tabs).
"openTsukihime": "Ctrl+Shift+T", // Accelerator that opens the TsukiHime subtitle search modal (English/Japanese tabs).
"openSessionHelp": "CommandOrControl+Slash", // Accelerator that opens the session help / keybinding cheatsheet.
"openControllerSelect": "Alt+C", // Accelerator that opens the controller selection and learn-mode modal.
"openControllerDebug": "Alt+Shift+C", // Accelerator that opens the controller debug modal with live axis/button readouts.
@@ -614,14 +614,14 @@
}, // Jimaku API configuration and defaults.
// ==========================================
// Animetosho
// Animetosho subtitle search configuration (English and Japanese). No API key required.
// Hot-reload: Animetosho changes apply to the next Animetosho request.
// TsukiHime
// TsukiHime subtitle search configuration (English and Japanese). No API key required.
// Hot-reload: TsukiHime changes apply to the next TsukiHime request.
// ==========================================
"animetosho": {
"apiBaseUrl": "https://feed.animetosho.org", // Base URL of the Animetosho JSON feed API. No API key required.
"maxSearchResults": 10 // Maximum Animetosho search results returned.
}, // Animetosho subtitle search configuration (English and Japanese). No API key required.
"tsukihime": {
"apiBaseUrl": "https://api.tsukihime.org/v1", // Base URL of the TsukiHime API (Animetosho successor). No API key required.
"maxSearchResults": 10 // Maximum TsukiHime search results returned.
}, // TsukiHime subtitle search configuration (English and Japanese). No API key required.
// ==========================================
// YouTube Playback Settings