The sequel-chain walk counted every SEQUEL hop as a season, so a split
cour ("Part 2", "Cour 2", 第2クール) or a special/movie in the chain
landed one season short while reporting seasonResolved: true.
- Only TV/TV_SHORT/long-ONA entries count; specials, movies, OVAs and
short ONAs are walked through.
- A hop whose title or synonym ends in a part/cour marker matching the
season's first entry is a continuation, not a season. Part 1 never
marks a back half, and a season's own marker is stripped only when it
is Part 1 (keeps JoJo Part 5 -> Part 6 as two seasons).
- An entry whose title names the requested season (Season 3, 3rd
Season, III, 第3期) wins over the count, with a one-season lookahead;
bare trailing numbers are trusted on main titles only.
- A transport error mid-walk propagates instead of falling through to
air order.
- Episodes past a split-cour season entry resolve to the part that airs
them (episodeEntry); the AniList updater writes progress there.
- Air order matches the franchise on any main title and drops
continuations.
Ports and corrects the unlanded design from checkpoint 27c0ea67.
4.7 KiB
AniList integration
SubMiner updates your AniList watch progress when you finish an episode. The same connection supplies cover art for the stats dashboard and names for the character dictionary.
Setup
-
Set
anilist.enabledtotrue:{ "anilist": { "enabled": true, }, } -
Restart SubMiner. With no token stored, it opens the AniList setup window. You can also open it from the tray (Configure AniList) or with
subminer app --anilist-setup. -
Approve access on the AniList page. SubMiner receives the token through a
subminer://link and stores it encrypted.
If the setup window does not render, SubMiner opens the authorization page in your browser instead. To skip the flow entirely, paste a token into anilist.accessToken.
On Linux, the token is stored with gnome-libsecret by default. If your keyring is unavailable, start it (gnome-keyring or KWallet) or launch SubMiner with --password-store=basic_text.
How updates work
An episode counts as watched after 85% of its length and at least 10 minutes of playback. SubMiner then:
- Reads the title, season, and episode from the file name and folder. Install guessit for better parsing. A folder named
Season 2is a strong season hint. - Finds the matching AniList entry. For season 2 and later, it follows the show's sequels. Specials, movies, and the second half of a split season ("Part 2", "Cour 2") do not count as seasons, and an entry whose title names the season ("Season 3", "III") wins.
- Sets your progress to that episode and marks the entry Watching, or Completed on the final episode. AniList lists the second half of a split season as its own entry, so an episode past the first half goes there: episode 15 of a season split 11 + 12 is episode 4 of the second entry.
If the show is not on your list yet, SubMiner adds it as Watching, but only when the file title exactly matches an AniList title or you pinned the entry with the character dictionary's AniList override. For a looser match, add the show to Planning or Watching yourself. SubMiner never changes entries marked Completed, Paused, Dropped, or Rewatching, and it never lowers your progress.
Failed updates are saved and retried in the background, up to 8 times with growing delays. The queue survives restarts.
Fixing a wrong match
If a cover or title in the stats Library is wrong, open the title and use Change AniList Entry.
If SubMiner cannot find a later season, it skips the update rather than writing progress to season 1. Pin the right entry with the character dictionary's AniList override. See Character dictionary. The override is also the fix when AniList splits a season without marking the second half in any title.
Library entries matched by older versions keep their match after an update. If one points at the wrong season, use Change AniList Entry.
Commands
| Command | What it does |
|---|---|
subminer app --anilist-setup |
Open the AniList setup window |
subminer app --anilist-status |
Show token state and retry queue counts |
subminer app --anilist-logout |
Remove the stored token |
subminer app --anilist-retry-queue |
Retry one queued update now |
Options
| Key | What it does |
|---|---|
anilist.enabled |
Turns on progress updates. |
anilist.accessToken |
Token override. Leave empty to use the token stored by setup. |
Character dictionary settings live under anilist.characterDictionary and are covered on the Character dictionary page. See Configuration for defaults.
Troubleshooting
No update after an episode. Check that anilist.enabled is true and that you watched at least 85% of the episode.
"AniList update not possible." The show is marked Completed, Paused, Dropped, or Rewatching, or it is not on your list and the title match was not exact. Add the show to your Planning or Watching list, or pin it with the character dictionary's AniList override, then mark the episode watched again.
Wrong show or episode. Install guessit and make sure it is on your PATH. Unusual file names parse poorly without it.
Token errors. Run subminer app --anilist-status. If the token is invalid, run --anilist-logout, then --anilist-setup.