mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
- Remove the auto-jimaku example, now covered by the built-in Jimaku auto-open - Drop its plugins docs section and changelog bullet - List the keyboard-only `C` key in Keyboard shortcuts - Point the configuration reference to Controller support for button defaults
1.5 KiB
1.5 KiB
type: added area: plugins
- Added JavaScript plugins loaded at startup from
<config dir>/plugins/<id>/and enabled underpluginsin the config. Plugins can listen to mpv events, run timers, register actions bound with__plugin-action:<id>/<action>keybindings or run with--plugin-action, run built-in actions, react to mined Anki cards and call AnkiConnect, start mpv, run programs, keep state in a per-plugin data folder, and show results in an overlay panel or their own window. - Added an example
ai-explainplugin that sends the current line and its neighbors tocodex execand shows a translation or grammar explanation. - Added an example
anki-syncplugin that syncs Anki to AnkiWeb after you mine cards, once mining goes quiet or playback ends. - Added an example
episode-tagsplugin that tags mined cards with the show and episode, such asshow::Frieren::S01E07. - Added a versioned plugin API with standalone authoring types, cached playback snapshots, lifecycle cancellation and cleanup, and awaitable mpv commands. Async activation is bounded and actions wait only for their own plugin. Shutdown skips pending loads, runs each deactivation once, and blocks calls from disposed plugins.
- Mining events preserve original and kept note ids with the media and subtitle captured when mining starts, so delayed enrichment and merges into older notes keep the source episode. Stats-dashboard cards do not trigger plugin events. Plugin subtitle lookups and mining provenance account for subtitle delay and return timing on the subtitle file's timeline.