From 514f9899a39d253285056039826fe151e374f33e Mon Sep 17 00:00:00 2001 From: ComputerTech Date: Tue, 10 Mar 2026 19:33:56 +0000 Subject: [PATCH] Remove listener count from listening page --- listener.html | 1 - listener.js | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/listener.html b/listener.html index 490ccf1..c962cd0 100644 --- a/listener.html +++ b/listener.html @@ -16,7 +16,6 @@
LIVE - 0 listening
diff --git a/listener.js b/listener.js index fcacfb7..e071bf0 100644 --- a/listener.js +++ b/listener.js @@ -56,11 +56,6 @@ function updateNowPlaying(text) { if (el) el.textContent = text; } -function updateListenerCount(count) { - const el = document.getElementById('listener-count'); - if (el) el.textContent = count; -} - // --- Reconnection with Exponential Backoff --- function scheduleReconnect() { @@ -258,7 +253,6 @@ function initSocket() { socket.on('connect', () => { console.log('[SOCKET] Connected'); socket.emit('join_listener'); - socket.emit('get_listener_count'); if (window.listenerAudioEnabled) { updateStatus('Connected', true); } @@ -275,10 +269,6 @@ function initSocket() { } }); - socket.on('listener_count', (data) => { - updateListenerCount(data.count); - }); - // --- Broadcast lifecycle events --- socket.on('stream_status', (data) => {