mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-13 08:12:54 -07:00
75348aa72a
- SubMiner-managed launcher and Windows shortcut launches inject the bundled plugin when no global plugin is detected - First-run setup detects and removes legacy global plugin files via OS trash before managed playback starts - Makefile `install-plugin` target and Windows config-rewrite script removed; Linux/macOS install now copies plugin to app data dir - AniList stats search and post-watch tracking now go through the shared rate limiter - Stats cover-art lookup reuses cached AniList data before issuing a new request - Closing mpv in a launcher-managed session now terminates the background Electron app
1.9 KiB
1.9 KiB
id, title, status, assignee, created_date, updated_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | updated_date | labels | dependencies | references | priority | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-355 | Unify AniList API throttling across dictionary stats and tracking | In Progress | 2026-05-12 21:49 | 2026-05-13 01:21 |
|
|
high |
Description
Audit and fix AniList GraphQL usage so character dictionary generation, stats search/cover art, and post-watch tracking share conservative request pacing and honor AniList rate-limit response headers. Current logs do not show 429s, but source has separate/unthrottled call paths and repeated dictionary lookup failures for the same title.
Acceptance Criteria
- #1 All AniList GraphQL call paths use a shared/conservative limiter or equivalent pacing before requests.
- #2 429 responses honor Retry-After/X-RateLimit-Reset and do not continue hammering the API.
- #3 Stats AniList search endpoint no longer bypasses the AniList rate limiter.
- #4 Post-watch tracking no longer bypasses the AniList rate limiter.
- #5 Focused regression tests cover limiter use for stats search and post-watch tracking, plus existing limiter behavior remains green.
- #6 Stats cover-art lookup reuses already stored AniList cover data for the same anime before issuing another AniList API request.
Implementation Notes
Implemented stats cover-art cache reuse across videos in the same anime before any AniList/image fetch. Added limiter plumbing for stats manual AniList search and post-watch tracking; both paths now call acquire before GraphQL and record response headers afterward. Character dictionary still uses its existing local pacing and remains follow-up work for fully shared limiter/header handling.