Commit Graph
5 Commits
Author SHA1 Message Date
sudacode 2bf8e09ddb fix(aniskip): retry chapter detection after a failed chapter-list read
A failed read left resolution marked as started, so streams never got skip
windows until a refresh or file change. It is now retried on the next
duration change or same-media reload; a successful empty list stays final.
2026-11-22 15:22:31 -08:00
sudacode 3e51d76d6b fix(aniskip): address review findings on chapter writes, lookups and request spacing
- Never rewrite chapter-list after a failed read, or after the media changed
  while the read was pending (also for marker removal).
- Install file-chapter windows before the AniSkip lookup so their prompt and
  skip key work at once; AniSkip windows are merged in without resetting
  prompts already shown.
- A lookup superseded by a refresh or media change no longer writes the cache.
- A same-media reload retries a lookup that failed transiently.
- Serialize AniSkip request slots so late timers cannot release a burst.
2026-11-22 14:32:41 -08:00
sudacode 5a332e39c5 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.
2026-11-22 02:21:17 -08:00
sudacode 7be1843c41 feat(notifications): add overlay notifications with position config (#110) 2026-06-10 22:46:52 -07:00
sudacode 2007e28be8 feat(aniskip): move intro detection from mpv plugin to app runtime (#117) 2026-06-09 23:55:43 -07:00