Repository navigation
First Launch
The first start of a fresh profile, what to set before anything talks to AniDB, and the AniDB clients Animatic uses for online work.
On a fresh profile (a first launch with default settings also performs one automatic update check, see status):
-
Startup. The database is created and opened first, then settings are loaded:
a missing primary and missing backup mean defaults; a valid primary loads; an
invalid or missing primary with a valid
.bakloads the backup offline and shows a "Settings recovered" window; unreadable settings or two unusable files abort startup. Details: Settings problems. - Status bar shows "Loading library…" and then "Ready". The left panel lists nine pages; Overview is shown.
-
Overview first-run card ("Bring your AniDB O'Matic library forward") appears
because
first_launchdefaults to true. Use it to import a databank (migration) or Dismiss first-run card. Dismissing writes the settings file immediately (a first save), unless the settings were recovered from a backup. A normal exit also saves the settings. -
Open Tools → Options… and, before anything else:
- tick Work offline (keep commands queued) and press Save options. The factory default is not offline;
- leave Username/Password/API key empty until you have your AniDB account at hand;
- decide whether the managed-folder rule Default (which adds identified files to MyList as "On HDD", unwatched) is what you want. See managed folders.
- Add files (File → Add files…) or import an AOM library, then follow the user guide pages.
Defaults worth knowing (settings.rs, confirmed in source): theme dark, UI scale 1.0,
UDP server api.anidb.net:9000, local UDP port 29456, Identify files
with AniDB after hashing on, file-extension restriction off, hash export template
%fulled2k%, statistics export off.
AniDB refuses unregistered API clients, and AniDB registers a client per API. Animatic has
its own registered clients, built into the program: animatic version 1 for the UDP API (login,
file identification, MyList) and animatichttp version 1 for the HTTP API (full anime records).
You do not register, enter or change anything: Options shows them read-only under the account
fields ("AniDB client: …"), and there is no setting for them. Updating Animatic never changes
them; they change only in a release that ships a newly registered client version. Rules that
follow from the code:
- You only need your AniDB Username and Password (an AniDB account; sign up at https://anidb.net). The API key (set in your AniDB profile) is optional and turns on encrypted UDP sessions.
- The local UDP port (
anidb.local_port, default 29456) and UDP server are JSON-only. If the port cannot be bound, the run stops with an error that names the setting; Animatic never switches to another port by itself (AniDB bans many different source ports). - An empty user name or password makes the queue stop at the first command with an authentication error and blocks every pending command until you correct it and use Retry failed (queue failure handling).
- Settings files from older versions may still hold
client_name,client_version,http_client_nameandhttp_client_version. They are ignored and dropped the next time the settings are saved. - If AniDB refuses the built-in client (reply 503 or 504, or an HTTP client rejection), the commands are blocked with that reason; update Animatic, and report it if you already run the latest release (Network and sync problems).
- Never run automated tests against AniDB with fabricated credentials.
The HTTP API endpoint is plain http://api.anidb.net:9001/httpapi; the title list comes
from https://anidb.net/api/anime-titles.xml.gz; UDP uses api.anidb.net:9000 by default.
Transport details: storage and network contracts.
- Hash and identify files, edit MyList, run scans: Hashing and identification, AniDB synchronization, Managed folders and scans.
- Import an AOM library and its settings: Migrating from AOM.
- Understand or edit stored options: settings reference.
- Write a rename pattern: rename language.
- Developing or verifying the build: development, architecture.
Published from wiki/ in the repository; edits made here are overwritten. Never paste credentials, file names or library data into an issue: see Reporting problems.
Get started
The window
Tasks
- Hashing and identification
- Managed folders and scans
- Managing MyList
- AniDB synchronization
- Renaming files
- Exports
- External tools
- Updating Animatic
Settings and renaming
Help
- FAQ
- Troubleshooting
- Backups and recovery
- Network and sync problems
- File and import problems
- Reporting problems
Reference