Add SABnzbd client and Downloads view (M4)
SABnzbd client (queue, history, pause/resume, delete, retry) with lenient number decoding and API-key-safe errors. Downloads view polls while visible, shows queue and history, and supports pause, delete (with confirmation) and retry. Add dev/ with pinned Radarr/Sonarr/SABnzbd containers wired together for manual testing. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Local test instances
|
||||
|
||||
Radarr, Sonarr and SABnzbd in containers (same versions as the author's setup), pre-wired together:
|
||||
fixed dev API keys, root folders `/media/movies` and `/media/tv`, and SABnzbd registered as the
|
||||
download client in both (categories `radarr` / `sonarr`).
|
||||
|
||||
```sh
|
||||
dev/up.sh # start + configure (idempotent); needs docker/podman compose
|
||||
go run ./cmd/arr-tui --config dev/config.json
|
||||
docker compose -f dev/compose.yaml down # stop; state lives in dev/data (gitignored)
|
||||
```
|
||||
|
||||
| Service | URL | Port |
|
||||
|---|---|---|
|
||||
| Radarr | http://127.0.0.1:17878 | 17878 |
|
||||
| Sonarr | http://127.0.0.1:18989 | 18989 |
|
||||
| SABnzbd | http://127.0.0.1:18080 | 18080 |
|
||||
|
||||
No indexers or Usenet servers are configured, so nothing actually downloads. To get something into
|
||||
the SABnzbd queue, upload any NZB:
|
||||
|
||||
```sh
|
||||
curl -F name=@some.nzb -F cat=radarr \
|
||||
"http://127.0.0.1:18080/api?mode=addfile&output=json&apikey=devsabnzbdapikey0000000000000000"
|
||||
```
|
||||
|
||||
Metadata lookups (search) need internet access, since Radarr/Sonarr query their cloud metadata services.
|
||||
Reference in New Issue
Block a user