API Providers And Secrets
CineRename can query several external providers, depending on the feature you use:
- TheTVDB — movies, TV series, seasons, episodes, localized titles, posters and artwork when available
- TVmaze — TV series fallback (open data, no key)
- AniList — anime lookup and absolute numbering support where available
- Kitsu — anime lookup fallback
- OpenSubtitles — search and download subtitles
For the application to work out of the box, CineRename can include bundled provider keys at build time. You do not need to configure your own keys for normal use, but personal keys can help if you process very large libraries or need your own quota.
Why provide your own key?
- Higher quotas — useful for processing very large volumes
- Dedicated quota — useful for OpenSubtitles or TheTVDB heavy usage
- CI / staging rotation — teams testing in an isolated environment
- Account-only features — OpenSubtitles upload requires your own API key plus account credentials
Resolution order
If multiple sources provide a key, CineRename uses the first one found according to this order:
- Runtime environment variable
CINERENAME_TVDB_API_KEYCINERENAME_OPENSUBTITLES_API_KEY
- Override entered in Preferences → Sources and subtitles (stored in the operating system secret vault/keyring when it is sensitive)
providers.tomlfile in the local config folder- Default bundled key compiled into the app
Configure via the UI
Preferences → Sources and subtitles:
- TheTVDB: API Key field
- OpenSubtitles: API Key field + credentials (username/password) if you have a premium account
Sensitive values are stored with the system credential store/keyring when available, not in plain text in the local SQLite database. They never leave your machine except when sent to the provider they belong to.
Configure via file
Create (or edit) providers.toml in the config folder:
| OS | Path |
|---|---|
| Windows | %APPDATA%\CineRename\providers.toml |
| macOS | ~/Library/Application Support/CineRename/providers.toml |
| Linux | ~/.config/CineRename/providers.toml |
Format:
[tvdb]
api_key = "your-tvdb-key"
[opensubtitles]
api_key = "your-opensubtitles-key"
username = "your-username"
password = "your-password"Custom build
To generate a CineRename binary with different keys (CI rotation, staging):
export CINERENAME_BUNDLED_TVDB_API_KEY="..."
export CINERENAME_BUNDLED_OPENSUBTITLES_API_KEY="..."
npm run distGet your own keys
| Provider | How |
|---|---|
| TheTVDB | Create an account on thetvdb.com → API → Subscriptions |
| OpenSubtitles | Create an account on opensubtitles.com → Consumers → New API consumer |
| TVmaze | No key required (public API, rate-limited to 20 req/s) |
| AniList | No key required for the public API features used by CineRename |
| Kitsu | No key required for the public API features used by CineRename |