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
@@ -0,0 +1,7 @@
|
||||
type: added
|
||||
area: aniskip
|
||||
|
||||
- Added outro skipping: the AniSkip key now also skips the ending, with its own prompt and chapter markers.
|
||||
- Intro and outro detection now reads the file's own chapters first (named OP/ED chapters, or song-length chapters near the start and end) and only asks AniSkip for what is missing, so it also works for Jellyfin and other streams.
|
||||
- AniSkip lookups now send the episode length so the times match your TV or Blu-ray cut.
|
||||
- Fixed AniSkip rate limits, server errors, and network failures being remembered as "no intro" until restart; they are now retried on the next load.
|
||||
Reference in new issue
Block a user