diff --git a/server/clients/SABnzbdClient.js b/server/clients/SABnzbdClient.js index fe3958e..e3f7344 100644 --- a/server/clients/SABnzbdClient.js +++ b/server/clients/SABnzbdClient.js @@ -105,9 +105,6 @@ class SABnzbdClient extends DownloadClient { normalizeDownload(slot, source) { const isHistory = source === 'history'; - // Log slot data for debugging speed field - logToFile(`[SABnzbd:${this.name}] Slot data: ${JSON.stringify({ nzo_id: slot.nzo_id, kbpersec: slot.kbpersec, speed: slot.speed, status: slot.status })}`); - // Map SABnzbd statuses to normalized status const statusMap = { 'Downloading': 'Downloading', @@ -167,7 +164,6 @@ class SABnzbdClient extends DownloadClient { progress: Math.round(progress), size: Math.round(size), downloaded: Math.round(downloaded), - speed: slot.kbpersec ? slot.kbpersec * 1024 : 0, // Convert KB/s to bytes/s eta: this.calculateEta(slot.timeleft || slot.eta), category: slot.cat || undefined, tags: slot.labels ? (Array.isArray(slot.labels) ? slot.labels : slot.labels.split(',')).filter(tag => tag && tag.trim()) : [],