Documentation
How downloads work
The path from a release on a feed to an episode in your library.
What AniFlow does and does not do
AniFlow does not download anything itself. It looks at release listings from the indexers and feeds you have added, decides which listing is the one you asked for, and hands that torrent to your download client (qBittorrent, Deluge or Transmission). The client downloads the files. AniFlow then watches the client and, when the file is finished, puts it in your library. AniFlow ships no indexers or feeds, and hosts and distributes nothing. See Indexers and feeds for adding sources and Download clients for connecting your client.
The path of one episode
- A release is found. Either a feed you added publishes it (AniFlow scans your feeds on a timer), or a search of your indexers returns it. The search runs when you change an anime's release and when you press Run now on "Downloads: Searching for releases" on the Schedule page.
- The name is parsed. AniFlow reads the release name into title, release group, episode number and version, resolution, source, codec and similar fields. A field that does not read clearly is recorded as unknown, not guessed.
- A verdict is reached. The parsed release is compared with the anime's release profile (see below).
- A matching release is queued. AniFlow adds the torrent to your download client under the category set in Settings -> Downloads ("Torrent category", default
AniFlow). Hand-overs are spaced out rather than sent in a burst. - The download is monitored. AniFlow asks the client how every download is doing. By default this is about every 30 seconds, and every 5 seconds while something is actually downloading.
- The file is imported. When the client reports the torrent finished, AniFlow copies, moves or hardlinks the file into the library. In Shoko Server mode it hands the file to Shoko's import folder instead. See Importing.
- The episode status updates at every step, and you see it on the anime's page and on In Progress.
Which feeds and indexers are used for an anime, and which subgroup, resolution and so on it wants, is set up in Release profiles.
Verdicts
Every release found through a feed is stored with one of four verdicts. The labels appear on the feed's release list.
| Verdict | Meaning | What happens |
|---|---|---|
Match (MATCHED) | The release is for an anime on your watchlist and satisfies its release profile. | It becomes the episode's candidate. If Automate is on, it is queued. If not, the episode is marked available and waits for you. |
Rejected (REJECTED) | The release is for a tracked anime but breaks its profile: wrong title, group, edition, resolution, source or censoring. The reason names the field and whether it was a mismatch or unknown. A full-season batch for an anime you already own completely is also rejected, as "already owned". | Nothing is queued. The reason tells you what to change if you wanted it. |
Ignored (IGNORED) | The title is not on your watchlist, or the anime has no release profile. | Nothing happens. |
Ambiguous (AMBIGUOUS) | The title fits more than one anime on your watchlist. | An Attention item asks you which anime it belongs to. Nothing is queued until you answer. |
A release whose name does not state a field is not automatically a mismatch. It fails only if the profile pins that field to a value or requires it to be known. Otherwise it passes, and you may see a warning for what could not be checked.
Episode status words
Each episode has one status. The words below are what the interface shows; the internal names are in brackets.
| Shown as | Meaning |
|---|---|
Not available (UNAVAILABLE) | No release known for it yet, because it has not aired or nothing matching has been found. AniFlow cannot act on it. |
Available (AVAILABLE) | At least one matching release is known and the episode is not on disk. This is the state that offers a Download button. |
Downloading (DOWNLOADING) | Handed to the download client and still running. |
Downloaded (DOWNLOADED) | The torrent finished, but the file is still in the download folder and has not been placed in the library. |
In import folder (IMPORTING) | Shoko Server mode only: the file is in the hand-over folder and Shoko has not filed it yet. |
Owned (COMPLETE) | The file is in the library. |
Missing (MISSING) | The episode was owned and the file is now gone, for example deleted outside AniFlow. It can be downloaded again. |
Update available (UPDATE) | A newer version than the file you own exists. See Versions below. |
Error (ERROR) | Something went wrong that fits no other state. The detail says what. |
On In Progress the same facts are shown in more detail, with extra labels such as "Ready to download", "Downloading - stalled" and "Waiting for Shoko".
Duplicate protection
AniFlow is built so that the same thing is not fetched twice.
- A given release is queued at most once.
- The same torrent is never added twice. If two internal rows end up pointing at one torrent, the one that knows more keeps it and the other is marked as a leftover rather than deleted.
- An episode that is already owned, or already has a download running, is skipped.
- If the release is the same version you already have, or an older one, nothing is downloaded. The reasons shown are "This version is already here or downloading" and "Older than the version you already have".
Versions: V2 never downloads by itself
When a group re-releases an episode you already own as V2 or V3, AniFlow does not download it automatically, however Automate is set. The episode status becomes Update available and an Attention item New version appears, with the buttons Download new version and Dismiss. Replacing a file that already plays means downloading and importing again, and only you can weigh that.
The newer file is normally imported under its own name next to the old one. AniFlow then asks, as a Two files item, which one to delete. Nothing is deleted until you choose.
Batch and season torrents
AniFlow's automatic downloads work with single episodes. A release that covers a whole season or a range of episodes does not give one episode number, so it is not queued automatically; it appears as an Episode unclear Attention item that you can dismiss. A full-season batch for something you already own completely is rejected as "already owned".
If an anime is missing only some episodes and the only source is a batch, you can take just those episodes out of it:
- Open the anime and use Choose release (or Change the release).
- Pick the group that only has a batch. The window reads "This group only has a batch. Only the missing episode(s) will be downloaded from it", and lists which.
- Press Fix the missing episodes (in Change the release the button is Fix missing episodes).
AniFlow fetches the .torrent file from the indexer, reads the list of files inside it, and adds the torrent to your client stopped, with every file you do not need set to "do not download". Only then does it start the torrent, so the unwanted files never reach your disk. Specials, creditless openings and endings, trailers and any file whose episode number is unclear are left unselected rather than guessed. If anything goes wrong after the torrent was added, it is left stopped, never running with the whole season selected.
The torrent is treated as one download that serves several episodes. After import, the "then, with the torrent" action (pause, remove or keep) is applied only when the last wanted episode has been placed. The torrent's files are never deleted by AniFlow.
Basic and Advanced mode
AniFlow works in one of two modes, and you do not choose it directly.
- Advanced is on when at least one indexer is configured. Downloading, release profiles, feeds, importing and the In Progress page are available.
- Basic is what you get with no indexer: a watchlist and a calendar. Nothing can be downloaded, so the pages about subgroups, qualities, feeds and downloads are hidden. Nothing is lost when this changes: an anime keeps its profile, folder and downloads while hidden, and works again once an indexer is back.
The setup wizard offers the same split as Follow (watchlist and calendar, nothing downloaded) and Automate (finds releases, sends them to your client and imports finished episodes; needs an indexer file). An override exists in Settings (Automatic (from the indexers), Force Basic, Force Advanced) for trying the other mode; the interface says it is a testing aid and will be removed. Forcing Advanced without an indexer gives you the pages but still nothing to search.
An anime added while no indexer existed is a tracker entry. When an indexer appears, it is flagged with a Needs setup item. You convert it by choosing its release, because only you can say which releases are that show.
Automate: per anime and for new anime
Every anime has an Automate switch on its page.
- On: AniFlow queues every episode of that anime that becomes available, from a feed or from a search, without you pressing anything.
- Off: AniFlow still finds releases and marks the episodes Available, but sends nothing until you press Download on an episode (or Download all). On In Progress such an episode says Automate is off for this anime.
Settings -> Watchlist -> New anime -> Start new anime with Automate on decides the starting position for anime you add. It is on by default, and it also applies to an upcoming entry once you choose its release group. You can still change the switch for each anime afterwards.
Automation skips anime that are dropped or archived, tracker entries, anime you told AniFlow to stop looking for releases for (Stop looking for releases), and episodes your AniDB list already has.
What runs on a schedule
With Automate on, these background passes do the work. All of them are listed on the Schedule page, where you can see the last and next run, change the interval, or press Run now (see Activity, Attention and In Progress).
- RSS: Scanning feeds for new episodes reads every enabled feed for releases that match your watchlist.
- RSS: Queuing matched releases runs right after each feed scan. It hands matched releases to your client, including anything the client refused earlier and anything an Automate switch made available since the last pass.
- Downloads: Syncing download status asks the client about every download and imports whatever has finished.
- Downloads: Housekeeping adopts finished torrents in AniFlow's category that no download knows about, and reconciles unsettled downloads with the client, the disk and the library.
- Downloads: Searching for releases searches your indexers. It has no timer and runs on request.
If feed scanning is switched off (Automatic RSS scanning), nothing scans on its own. Intervals shown in the Schedule page are the ones in effect; the default for the feed scan in the example settings file differs from the built-in default, so check the page rather than assuming.