Initial tdarr-cli: Python CLI for the Tdarr API
All checks were successful
release / release (push) Successful in 1m4s

status/nodes/worker/cruddb/insert/api commands (stdlib only). Cracked
Tdarr's x-api-key auth (seededApiKey), alter-worker-limit and update-node
formats. Used to set up 2-node transcoding (workstation NVENC + Pi5 CPU
fallback). Playbook standard: README (per-OS prereqs), doc/plan.md,
.gitignore (build/ first), VS Code build task, install.sh + one-line curl,
Gitea Actions rolling-latest release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YPrEZVBpPVoCRyJz2exkZ
This commit is contained in:
2026-07-05 20:31:39 +02:00
commit 7c0c55bcea
7 changed files with 351 additions and 0 deletions

27
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,27 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"detail": "Bygger en fristående tdarrctl till ./build/",
"type": "shell",
"command": "mkdir -p build && install -m 0755 tdarrctl.py build/tdarrctl && echo '-> build/tdarrctl'",
"group": { "kind": "build", "isDefault": true },
"problemMatcher": []
},
{
"label": "nodes",
"detail": "Kör: tdarrctl nodes",
"type": "shell",
"command": "python3 tdarrctl.py nodes",
"group": "test",
"problemMatcher": []
},
{
"label": "syntaxkoll",
"type": "shell",
"command": "python3 -m py_compile tdarrctl.py && echo OK",
"problemMatcher": []
}
]
}