From bb24bdb06cde270e7874a75f1429e2170208a07e Mon Sep 17 00:00:00 2001 From: Smittix Date: Tue, 6 Jan 2026 21:37:36 +0000 Subject: [PATCH] Fix aircraft dashboard audio endpoints (404 error) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed /spectrum/audio/* to /listening/audio/* to match the actual listening_post blueprint URL prefix. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- templates/adsb_dashboard.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/adsb_dashboard.html b/templates/adsb_dashboard.html index 842fb73..d31cbe2 100644 --- a/templates/adsb_dashboard.html +++ b/templates/adsb_dashboard.html @@ -1894,7 +1894,7 @@ sudo make install document.getElementById('airbandStatus').textContent = 'STARTING...'; document.getElementById('airbandStatus').style.color = 'var(--accent-orange)'; - fetch('/spectrum/audio/start', { + fetch('/listening/audio/start', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ @@ -1912,7 +1912,7 @@ sudo make install // Start browser audio playback const audioPlayer = document.getElementById('airbandPlayer'); - audioPlayer.src = '/spectrum/audio/stream?' + Date.now(); + audioPlayer.src = '/listening/audio/stream?' + Date.now(); // Initialize visualizer before playing initAirbandVisualizer(); @@ -1946,7 +1946,7 @@ sudo make install audioPlayer.pause(); audioPlayer.src = ''; - fetch('/spectrum/audio/stop', { method: 'POST' }) + fetch('/listening/audio/stop', { method: 'POST' }) .then(r => r.json()) .then(() => { isAirbandPlaying = false;