A small tool that automates Formula 1, Formula 2, and Formula 3 release pushes to Sonarr. It intercepts releases from AutoBrr, matches them to the correct TVDB episode, and forwards them to Sonarr with the correct metadata.
Hardlinking is supported on Linux, macOS, and Windows.
graph LR
A[AutoBrr] --> B{Formulaar1}
B --> D[Sonarr]
- .NET 10 Runtime
- Sonarr v3
- qBittorrent (with Web UI enabled)
-
Download the latest release from GitHub Releases.
-
Extract into a folder.
-
Edit
appsettings.jsonwith your settings:{ "TorrentClient": "qBittorrent", "Hardlinkpath": "/full/path/to/hardlink/folder", "APICredentials": { "Sonarr": { "ApiKey": "", "BasePath": "http://127.0.0.1:8989" }, "qBittorrentClient": { "Username": "", "Password": "", "BasePath": "http://127.0.0.1:10169" }, "bugsnag": { "apiKey": "", "enabled": false } } }Setting Environment Variable Description TorrentClientFORMULAAR1__TorrentClientCurrently only qBittorrentis supportedEnableHardlinkingFORMULAAR1__EnableHardlinkingfalse(default) — Sonarr handles file management. Set totrueonly if Sonarr cannot reach the qBittorrent download path directlyHardlinkpathFORMULAAR1__HardlinkpathOnly required when EnableHardlinkingistrue. Folder where Formulaar1 creates hardlinks before triggering a Sonarr importSonarr.ApiKeyFORMULAAR1__Sonarr__ApiKeyFound in Sonarr → Settings → General Sonarr.BasePathFORMULAAR1__Sonarr__BasePathFull URL to your Sonarr instance qBittorrentClient.BasePathFORMULAAR1__qBittorrentClient__BasePathFull URL to your qBittorrent Web UI bugsnag.apiKeyFORMULAAR1__bugsnag__apiKeyOptional — your own Bugsnag project API key for error reporting bugsnag.enabledFORMULAAR1__bugsnag__enabledSet to trueif you supply a Bugsnag API key -
Start Formulaar1:
./Formulaar1
You should see output like:
info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:5000 -
In AutoBrr, create a new client with:
- Type: Sonarr
- Host:
http://127.0.0.1:5000(or whichever port Formulaar1 is listening on) - API Key: your normal Sonarr API key
Clicking Test should return a green OK.
-
Set up an AutoBrr filter pointing to this new client. That's it!
| Series | TVDB ID |
|---|---|
| Formula 1 | 387219 |
| Formula 2 | 392717 |
| Formula 3 | 396724 |
At startup, Formulaar1 fetches the current F1 season calendar from f1api.dev to automatically populate circuit and city names for the current year. This means new F1 venues are supported without any code changes.
If the API is unavailable, Formulaar1 falls back to a built-in static dictionary which also covers F2/F3 circuits and common alternate names used in release titles (e.g. COTA, Imola, UAE, British).
Please raise any issues if you have any problems.