AniFlow

Documentation

Release profiles and matching

Choose the exact releases you want and how AniFlow judges every release.

Two questions AniFlow asks about a release

When a release shows up in a feed or a search result, AniFlow asks two separate questions, in this order:

  1. Which anime is this? The release has to be recognised as one of the anime on your watchlist.
  2. Is it what you asked for? It is then checked against that anime's release profile: subgroup, resolution, media source, censorship and so on.

Only a release that passes both is queued for download. Everything else is either skipped or shown to you with a reason. AniFlow does not pick "the closest one".

How a release name is read

A release name such as [ExampleGroup] Example Show - 05 [1080p].mkv is read apart by the filename parser bundled with AniFlow. It extracts the subgroup, title, episode (or episode range for a batch), season, version (v2), resolution, media source, codecs, whether the name says censored or uncensored, and a CRC checksum if there is one. Words in the name that it cannot classify are kept as tags and are never guessed at.

A field the name does not state stays unknown. AniFlow treats "unknown" and "different" as two separate things, because they have different fixes.

Question 1: which anime is it?

Each anime on your watchlist stores a release name: the title that release groups use for the show, captured from a real release when you chose it in the Choose release dialog. A release belongs to an anime when its title equals that stored name (or one of the anime's other known titles or aliases) after tidying up case, punctuation and separators.

The per-anime release profile

Open an anime's detail page and find Release profile, then Edit release rules. The rules are:

RuleWhat it does
Allowed subgroupsA comma-separated list. Empty means any subgroup. With names listed, the release must name one of them (case does not matter). A release that names no group does not pass an allow-list.
ResolutionAny, or one of 4320p, 2160p, 1440p, 1080p, 720p, 540p, 480p.
Media sourceAny, or one of web_dl, webrip, web, remux, bluray, hdtv, dvd, tv, vhs.
CensorshipNo preference, Censored only or Uncensored only.

Under Advanced requirements there are four switches:

SwitchEffect when on
Release title must match this animeOn by default. Leave it on unless you know why you are turning it off.
Resolution must be knownA name that does not state its resolution is refused.
Media source must be knownA name that does not state its source is refused.
Censorship must be knownA name that does not say whether it is censored is refused.

A profile can also pin an edition (for example dual-audio, or "not dual-audio"), which distinguishes copies of the same episode. This is set when you choose a release for the anime, and it is stored with the profile.

A profile choice is never changed silently. If you want a different group or quality, use the change-release function on the anime; it shows what it will do before it does it.

Subgroup Profiles (templates)

If you apply the same rules to many anime, save them once as a template. Open Subgroup Profiles (visible once you have an indexer):

Templates are files too: one YAML file per template in config/subgroup/ (inside the container: /config/subgroup/), picked up without a restart. The folder contains an example.yaml that AniFlow ignores:

name: Example 1080p

# Which release groups are acceptable. Empty means any.
subgroups:
  - ExampleGroup

# Empty (or removed) means any.
resolution: 1080p
media_source: null

# ANY | UNCENSORED | CENSORED
censor_preference: ANY

# The checks a release has to pass. require_title_match should stay on unless
# you know why you are turning it off.
require_title_match: true
require_resolution_known: false
require_source_known: false
require_censor_known: false

# Applied to new anime unless you pick another one.
default: false

Files may also carry edition and edition_not lists.

Test a profile against your feeds

Test on a card, or Test all subs at the top, reads your enabled RSS sources once and reports, per profile, what it would take from them right now. Typical answers:

A profile matching nothing is a finding, not necessarily a fault: a group between seasons publishes nothing. There is no free-text "type a release name and see the verdict" box in the normal interface in 0.9.0; the Release Inspector (debug) page does that, and it only appears with debug_mode on.

Verdicts and reasons

For a release that was recognised as one of your anime, the result is a match or a rejection. In RSS Source Profiles under Discovered releases, each release shows one of these decisions: Match, Rejected, Ambiguous (more than one of your anime fits) or Ignored (not one of your anime, or the anime has no profile). A rejection lists every check that failed. The reasons come in two kinds per field:

ReasonWhat AniFlow shows
Title mismatchThe title does not match this anime
Title unknownThe title could not be read from the name
Subgroup mismatchNot one of the subgroups you asked for
Subgroup unknownThe name does not say which subgroup released it
Resolution mismatchA different quality than the one you asked for
Resolution unknownThe name does not say what quality it is
Media source mismatchA different source than the one you asked for
Media source unknownThe name does not say what it was ripped from
Censor mismatchCensored or uncensored the other way to your setting
Censor unknownThe name does not say whether it is censored
Edition mismatchNot the edition you asked for - a different censoring, audio or platform
Edition unknownThe name does not say which edition it is
Already ownedEvery episode this batch covers is already in your library at this version or newer

Unknown is a warning, not a block

Plenty of good releases simply leave the resolution, source or censorship out of the name. AniFlow does not hold that against them when it has already been told which show and which group you want:

Versions: v2, v3

A release marked v2 or v3 is a re-release of an episode. AniFlow never swaps a file for a newer version on its own:

A worked example

All names here are invented. Say your anime Example Show has the release name Example Show and this profile: allowed subgroup ExampleGroup, resolution 1080p, everything else at its default (no must-be-known switches).

Release nameResult
[ExampleGroup] Example Show - 05 [1080p].mkvMatch. Same show, allowed group, right resolution. It is queued for episode 5.
[OtherGroup] Example Show - 05 [1080p].mkvRejected: subgroup mismatch.
[ExampleGroup] Example Show - 05 [720p].mkvRejected: resolution mismatch.
[ExampleGroup] Example Show - 05.mkvAccepted with a warning: the name does not state a resolution, and you have not required it to be known. Switch on Resolution must be known and the same name is rejected as resolution unknown.
[ExampleGroup] Example Show - 05v2 [1080p].mkvYou already own episode 5 as v1, so this is held as a new version and waits for you to approve it.
[ExampleGroup] Example Show S2 - 05 [1080p].mkvNot this entry: it says season 2, and your entry is season 1. It is matched only to an Example Show season 2 entry, if you have one.
[ExampleGroup] Another Show - 05 [1080p].mkvIgnored: no anime on your watchlist has that title.

Why AniFlow asks instead of guessing

The rule behind all of this is that an automatic download should be explainable. A release is either recognised exactly, matches your stated choices, or is reported with the reason it was not. When two readings are possible (two anime fit, a newer version appears, a name is silent in a way your rules care about), AniFlow stops and shows you instead of choosing, because a wrong guess costs a download and a file in your library.