From 6c8c333c6a982dea5e528e72354eaadd396f28e4 Mon Sep 17 00:00:00 2001 From: Gronod Date: Tue, 19 May 2026 22:16:26 +0100 Subject: [PATCH] debug: Add Sonarr queue titles to no-match output --- server/routes/dashboard.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/routes/dashboard.js b/server/routes/dashboard.js index 8e0122f..643c068 100644 --- a/server/routes/dashboard.js +++ b/server/routes/dashboard.js @@ -1082,6 +1082,11 @@ router.get('/stream', requireAuth, async (req, res) => { console.log(`[SSE] ✗ No match for SAB: "${nzbNameLower.substring(0, 60)}"`); // Show counts console.log(`[SSE] Queue: ${sonarrQueue.data.records.length}, History: ${sonarrHistory.data.records.length}`); + // Show Sonarr queue titles + if (sonarrQueue.data.records.length > 0) { + const queueTitles = sonarrQueue.data.records.slice(0, 3).map(r => (r.title || r.sourceTitle || 'NO_TITLE').substring(0, 40)); + console.log(`[SSE] Queue titles: ${queueTitles.join(' | ')}`); + } // Show history titles if there are any if (sonarrHistory.data.records.length > 0) { const histTitles = sonarrHistory.data.records.slice(0, 3).map(r => {