Add logging to investigate SABnzbd slot structure for speed field
All checks were successful
Build and Push Docker Image / build (push) Successful in 35s
Licence Check / Licence compatibility and copyright header verification (push) Successful in 45s
CI / Security audit (push) Successful in 1m15s
CI / Tests & coverage (push) Successful in 1m27s

This commit is contained in:
2026-05-20 00:51:12 +01:00
parent 8c461de72a
commit 76f9e87b44

View File

@@ -104,7 +104,11 @@ class SABnzbdClient extends DownloadClient {
normalizeDownload(slot, source) {
const isHistory = source === 'history';
// Log slot structure for debugging speed field
logToFile(`[SABnzbd:${this.name}] Slot keys: ${Object.keys(slot).join(', ')}`);
logToFile(`[SABnzbd:${this.name}] Slot speed-related fields: kbpersec=${slot.kbpersec}, speed=${slot.speed}`);
// Map SABnzbd statuses to normalized status
const statusMap = {
'Downloading': 'Downloading',