mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-22 16:46:10 -08:00
feat(aniskip): detect intros and outros from file chapters and AniSkip v2
- Read mpv's chapter-list first and classify the file's own opening and ending (names incl. Japanese, else song-length heuristics, ported from Telly); ask AniSkip only for what the chapters lack. Chapter detection also runs for remote streams; AniSkip stays local-only. - Query AniSkip v2 with episodeLength from mpv's duration and parse both op and ed. Requests are spaced at least 1 s apart. - The skip key now skips whichever of the intro or outro is playing, with an outro prompt and AniSkip Outro Start/End chapter markers. - Fix transient AniSkip/MAL failures (non-404 errors, network, timeouts) being cached as a definite miss; only 404s and unmatched titles are cached.
This commit is contained in:
16 files changed
+844
-291
No files matched your search
@@ -1080,8 +1080,8 @@
|
||||
"autoStartSubMiner": true, // Start SubMiner in the background when SubMiner-managed mpv loads a file. Values: true | false
|
||||
"pauseUntilOverlayReady": true, // Pause mpv on visible-overlay auto-start until SubMiner signals subtitle tokenization readiness. Values: true | false
|
||||
"subminerBinaryPath": "", // Optional SubMiner app binary path passed to the bundled mpv plugin. Leave empty to use the launcher-detected app path.
|
||||
"aniskipEnabled": true, // Enable AniSkip intro detection, chapter markers, and the skip-intro key. Values: true | false
|
||||
"aniskipButtonKey": "TAB" // mpv key used to skip the detected intro while the skip prompt is visible.
|
||||
"aniskipEnabled": true, // Enable intro and outro detection (file chapters, then AniSkip), chapter markers, and the skip key. Values: true | false
|
||||
"aniskipButtonKey": "TAB" // mpv key that skips the detected intro or outro while it plays.
|
||||
}, // SubMiner-managed mpv launch and bundled plugin options.
|
||||
|
||||
// ==========================================
|
||||
|
||||
Reference in new issue
Block a user