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
@@ -47,7 +47,7 @@ Most plugin keys are chords: press `y`, then the second key.
|
||||
|
||||
`v` replaces mpv's own subtitle visibility toggle.
|
||||
|
||||
The skip-intro key (`TAB` by default) comes from the SubMiner app, not the plugin. See [AniSkip integration](/aniskip-integration).
|
||||
The intro/outro skip key (`TAB` by default) comes from the SubMiner app, not the plugin. See [AniSkip integration](/aniskip-integration).
|
||||
|
||||
The `y-y` menu lists Start overlay, Stop overlay, Toggle overlay, Open options, Restart overlay, Check status, and Stats. Press an item's number to run it. Stats only reminds you to press `` ` `` in the overlay.
|
||||
|
||||
|
||||
Reference in new issue
Block a user