Initial Tdarr-tray: KDE systray applet for the Tdarr workstation node
All checks were successful
release / release (push) Successful in 16s

PyQt6 QSystemTrayIcon: green=running, red=stopped, yellow=transition.
Pause/resume the node via the API (frees/reclaims the GPU, no sudo) so you
can free the 4060 Ti before gaming. Playbook standard: README (per-OS
prereqs + build/run/test), doc/plan.md, .gitignore (build/ first), VS Code
build task -> ./build, install.sh + one-line curl (clone or release),
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:34:35 +02:00
commit 81ff5c7fea
7 changed files with 430 additions and 0 deletions

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

@@ -0,0 +1,40 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"detail": "Bygger en körbar tdarr-tray till ./build/",
"type": "shell",
"command": "mkdir -p build && install -m 0755 tdarr-tray.py build/tdarr-tray && echo '-> build/tdarr-tray'",
"group": { "kind": "build", "isDefault": true },
"problemMatcher": []
},
{
"label": "Installera + autostart",
"type": "shell",
"command": "./install.sh",
"options": { "cwd": "${workspaceFolder}" },
"problemMatcher": []
},
{
"label": "Kör (förgrund)",
"type": "shell",
"command": "python3 tdarr-tray.py",
"isBackground": true,
"problemMatcher": []
},
{
"label": "Status (--check)",
"type": "shell",
"command": "python3 tdarr-tray.py --check",
"group": "test",
"problemMatcher": []
},
{
"label": "Stoppa tray",
"type": "shell",
"command": "pkill -f tdarr-tray && echo stoppad || echo 'ingen instans'",
"problemMatcher": []
}
]
}