AniFlow

Documentation

Settings

What each Settings tab does, and the settings file behind it.

How settings work

Open Settings in the left-hand navigation. The page is split into tabs. There is no Save button: a change is saved when you leave the field (a checkbox or a dropdown is saved a moment after you change it). A line at the top of the page says All changes are saved., or tells you when a save failed and offers Try again.

Everything on the Settings page is also stored in one file, /config/aniflow.yaml (see The settings file). You normally never need to open it.

The tabs, in the order they appear:

General

SettingWhat it doesDefault
LanguageThe interface language: English or Deutsch. Applied at once.English
Settings fileShows where the settings file is (read-only)./config/aniflow.yaml
Time24 hours (16:30) or AM / PM (04:30 PM).24 hours
DateDay.Month.Year, Month/Day/Year or Year-Month-Day. This is a setting of AniFlow, not of your browser.Day.Month.Year
ThemeThe look of the interface. The built-in themes are AniFlow Dark, Daylight and Midnight; your own appear in the list marked "yours". The theme is applied as soon as you choose it. See Themes, TV app and debug mode.AniFlow Dark

Preferred titles

A metadata source gives several names for the same show. Three lists decide which name AniFlow uses where. Each list is ordered best first; if a show has no title of the first kind, the next one is used. The kinds are English, Romaji, Alternative and Japanese. Use the up and down arrows to reorder.

ListUsed forDefault order
AniFlow namesWhat the Calendar and the Watchlist call an anime. Display only: it renames no folder and changes no search.English, Romaji, Alternative, Japanese
For searching indexersThe name AniFlow searches for. Release groups name files in romaji almost everywhere, so putting English first usually finds less.Romaji, English, Alternative, Japanese
For folder namesThe folder AniFlow creates: your library in standalone mode, the hand-over folder in Shoko Server mode. Shoko names its own library, so this does not change it.English, Romaji, Alternative, Japanese

Timezone

There is no timezone field on the Settings page. AniFlow uses the TZ environment variable of the container (set it in your compose file, for example TZ: Europe/Berlin). Alternatively you can add timezone: Europe/Berlin to aniflow.yaml, which overrides TZ. Use the IANA name (Europe/Berlin, not CEST). With no timezone at all, times are in UTC. Settings -> About shows the timezone in use and the server time.

Watchlist

SettingWhat it doesDefault
When a season changesAnime leave Upcoming by themselves when their season starts. This decides what happens with the rest (finished and waiting anime, and anime that air again): Ask me shows a notice on the watchlist and you choose what moves; Move them automatically moves the folders itself, a few at a time; Do nothing moves nothing and shows no notice.Ask me
Start new anime with Automate onWhen on, an anime you add (and a future entry once you choose its release group) starts with Automate on, so available episodes are downloaded by themselves. You can still switch Automate per anime.On

Downloads

This tab only exists when AniFlow is set up for downloading (that is, when at least one indexer is configured). See Download clients for connecting a client.

SettingWhat it doesDefault
ClientqBittorrent, Deluge or Transmission. Changing it changes the default port in the address.qBittorrent
Torrent categoryThe category (qBittorrent) or label (Deluge, Transmission) AniFlow files its torrents under. A blank value is not accepted and falls back to AniFlow.AniFlow
URLThe client's address as seen from the AniFlow container, for example http://qbittorrent:8080. Not localhost unless the client runs inside the same container.empty
Username / PasswordThe client's login. Deluge has a Web UI password and no username. The password is never shown again once stored; leave the field empty to keep it.username admin, no password
Test connectionTries the address and login you typed, saved or not.
Getting the file into the library (standalone) / Getting the file to Shoko Server (Shoko mode)How a finished episode reaches its destination: Copy (keeps the download, which can keep seeding), Hardlink (one copy on disk, the download keeps seeding; needs download folder and library on one filesystem and one mount inside the containers), or Move (one copy, seeding stops).Copy
Then, with the torrentPause the torrent, Remove the torrent entry (never the files) or Leave it seeding. "Leave it seeding" is not available together with Move.Pause the torrent

The second panel, Download folder check (button Check paths), asks the client where it saves, translates that to the path AniFlow sees, and checks that AniFlow can read the download folder and write to the library. How often each background task runs is set on the Schedule page, not here.

Calendar

SettingWhat it doesDefault
Hide anime already in your library, Hide adult content, Hide without a coverThe same filters as on the Calendar page: hide shows you already have, hide adult shows, hide shows without a cover.first two on, no-cover off
Kinds to showOne box per kind (for example TV, Movie, OVA, ONA, Special, Music, Advert, Trailer). Anything not listed is shown, so a kind a source invents later appears instead of vanishing.Music, Advert and Trailer are hidden
Mark seasons of shows you already trackOutlines and lifts a later season of something on your watchlist; a season you appear to have skipped is marked more strongly.On
Show popularity as starsOne to five stars, relative to the season on screen.On

Whether the calendar updates itself, and how often, is on the Schedule page. See The season calendar.

Storage

This tab is informational. It shows the storage mode (Standalone - AniFlow owns the library, or Shoko Server - Shoko owns the library) and the folders AniFlow sees (Library, Downloads, Import), each marked writable, read-only or not mounted. The folders are set by the volumes in your compose file; changing one needs a redeploy. The storage mode cannot be changed here, because switching it on a library that already has files would split every anime across two folders.

Shoko Server

Shown only in Shoko Server mode. URL (for example http://192.168.1.10:8111) and API key are optional: handing files over to Shoko works through folders and needs neither. With them AniFlow can read what Shoko knows. The key is Shoko's own API key; AniFlow never asks for your Shoko password. Test connection checks the address and key; Open the Shoko page jumps to the Shoko Server page. See Shoko Server.

Integrations

Two panels (a third, the metadata source, appears only in debug mode).

AniFlow TV

Creating and revoking tokens for paired televisions. See Themes, TV app and debug mode.

Proxy

Sends AniFlow's own internet requests through a proxy, so the services you ask see the proxy's address instead of yours. Fields: Type (No proxy, HTTP, SOCKS4, SOCKS5, SOCKS5h), Host or IP, Port, Username and Password (both optional). SOCKS5h resolves host names at the proxy; with SOCKS5 your own resolver sees what AniFlow looks up.

A proxy is only saved once it has both a host and a port; the status line says so while it is incomplete.

What goes through the proxy: AniFlow's requests to the metadata sources, the AniDB title list, the id mapping list, cover images, and the indexers and feeds you added. What never does: your download client, Shoko, and any address on your own network (private IP ranges, localhost, host.docker.internal, and names ending in .local, .lan or .internal).

Careful

A proxy here does not hide your torrent traffic. That traffic belongs to your download client and never passes through AniFlow. Set a proxy in the client itself for that.

The Check my address button saves your settings, then asks a public service which address the internet sees and tells you whether the answer came "through the proxy" or "direct". If the proxy is configured but the answer says direct, the proxy is not in use. Without a configured check address AniFlow asks a short list of built-in address-check services in turn, so a rate limit on one does not fail the check.

Notifications

SettingWhat it doesDefault
Log levelError (failures only), Warning, Info (what AniFlow did) or Debug (everything, including each outgoing request; writes a great deal). Applies to the running app without a restart.Error
CornerWhere short pop-up messages appear: top right, top left, bottom right or bottom left. Messages disappear by themselves (four seconds for a confirmation, eight for a failure). Show me one and Show me an error one preview them.Top right

The log level lives on this tab, not on General. See Troubleshooting and Checks for reading the log.

Account

Change the username, the password, or both. Your current password is always required. See Security and privacy.

Backup

Download a backup zip and restore from one. See Backup, restore and updating.

About

Read-only information: version, database migration state, how long AniFlow has been running, whether the background worker runs, timezone and server time, mode, Python and platform, and the four folders (settings, data, downloads, media) with free space. It also lists the data sources, links to the third-party licences, and has the Download diagnostics button (see Troubleshooting and Checks).

The settings file

All settings live in /config/aniflow.yaml. The file is created at the first start. The Settings page and a text editor write the same file, so there is no second place to keep in sync.

The first-start file contains every key with its current value. The tables below group the keys by purpose. Keys marked "file only" have no control on the Settings page.

Download client and finished downloads

KeyDefaultMeaning
torrent_clientqbittorrentqbittorrent, deluge or transmission
qb_urlemptyAddress of the client
qb_username, qb_passwordadmin, emptyClient login (applies to Transmission too)
qb_categoryAniFlowCategory or label for AniFlow's torrents
file_operationcopycopy, hardlink or move
after_import_actionpausepause, remove (entry only) or keep. move together with keep is refused
reacquire_modebackupWhen you change an anime's release: backup renames the old files to .backup, replace deletes them. Normally chosen in the release-change panel
automate_new_animetrueNew anime start with Automate on

Scheduled tasks (see the Schedule page)

Intervals are in seconds unless the name says minutes. Each task has an _enabled switch and an interval.

KeyDefaultMeaning
rss_enabled, rss_scan_interval_minuteson, 30Scan your feeds
torrent_monitor_enabled, torrent_monitor_interval_secondson, 30Follow download progress (5 to 3600)
torrent_housekeeping_*on, 21600Orphaned torrents and downloads that did not settle
anidb_identity_refresh_*on, 604800AniDB title list and id mapping. Never fetched more than once a week, whatever you set
shoko_status_*on, 3600Notice Shoko coming or going
attention_review_*on, 1800Close warnings whose reason has gone away
conversion_review_*on, 21600Flag anime added without an indexer that now need converting
disk_recheck_*on, 21600Re-check every anime's media folder against the database
calendar_auto_update, calendar_auto_update_interval_secondson, 604800Keep the current and next two seasons up to date (weekly). An installation whose file already says false keeps that

Calendar and display

KeyDefaultMeaning
calendar_hide_in_librarytrueHide shows already in your library
calendar_hide_adulttrueHide adult shows
calendar_hide_no_coverfalseHide shows without a cover
calendar_sortairingairing, name, popularity (or recommended); remembered from the Calendar page
calendar_hidden_kindsMUSIC,CM,PVKinds to leave out, comma-separated, upper case
calendar_mark_sequels, calendar_show_popularitytrueThe two "marks" boxes
time_format24h24h or 12h
date_formatdmydmy, mdy or ymd. A wrong value is refused
languageenen or de
themeaniflow-darkFolder name of the theme
toast_cornertop-righttop-right, top-left, bottom-right, bottom-left
title_display_order, title_search_order, title_folder_ordersee aboveComma-separated from english, romaji, alternative, japanese
season_rolloveraskask, auto or off
timezoneemptyIANA name; empty uses the TZ variable. File only

Integrations, proxy and sources

KeyDefaultMeaning
shoko_url, shoko_api_keyemptyShoko Server address and API key
proxy_kind, proxy_host, proxy_port, proxy_username, proxy_passwordnone, emptyThe proxy (see above)
proxy_check_urlemptyAn address-check service to ask first, answering JSON with an ip field. Empty uses the built-in services. File only
metadata_provideranilistanilist or kitsu. Switching clears the cached calendar and rebuilds it from the new source; anime already added keep their ids. The dropdown appears only in debug mode
mal_client_idemptyThe Client ID (not the Client Secret) of a MyAnimeList API application. Empty skips that source. File only
search_enabled, search_max_pages, search_max_resultstrue, 3, 200Limits for indexer searches (pages 1 to 10, results 1 to 1000). File only
app_mode_overrideemptyEmpty: AniFlow is Basic with no indexer and Advanced with one. basic or advanced forces one. A testing aid, shown on the Debug tab

Logging and developer

KeyDefaultMeaning
log_levelERRORERROR, WARNING, INFO, DEBUG
log_componentsemptyComma-separated component names to log; empty means all. File only
log_component_levelsemptyA JSON object of component and level overrides. File only
debug_modefalseDeveloper tools. File only; see Themes, TV app and debug mode

Environment variables

Settings come from three layers: AniFlow's defaults, then environment variables, then aniflow.yaml (the file wins). The image sets these variables:

VariableImage defaultMeaning
TZUTCTimezone of the container (the image includes the timezone database)
APP_PORT9630The port AniFlow listens on inside the container. If you change it, change the right-hand side of ports: too
CONFIG_DIR/configWhere aniflow.yaml, the log, and your indexer, feed, subgroup and theme files live
DATA_DIR/dataDatabase, calendar database, cover cache
LOG_FILE/config/log/aniflow.logLog file path. It must be a path inside the container
APP_ENVproductionLeave as it is

ANIFLOW_MODE (standalone or shokoserver) is the default storage mode for an installation that has not chosen one. The mode is chosen once in the setup wizard and then recorded, and the recorded mode wins over the variable.

PUID and PGID are not read by the image. In a compose file they are only a convention for the user: line (for example user: "1000:1000"); that user must own /config and /data.

In practice you only need TZ and, rarely, APP_PORT. Everything else is better changed in Settings.