From 47c45ddea70750ac25049b340b7baf8c74326fdf Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Sun, 25 Jan 2026 00:35:16 -0800 Subject: [PATCH] feat: dynamic music source labels in discovery modals - Added global currentMusicSourceName variable to track active source - Updated discovery modal to show "Apple Music" when iTunes is active - Replaced hardcoded "Spotify" in modal titles, headers, and descriptions - Discovery modals now automatically reflect the correct music source (Spotify/Apple Music) --- webui/static/script.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/webui/static/script.js b/webui/static/script.js index 137dcb1a..c6cf4a64 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -12,6 +12,7 @@ let currentStream = { progress: 0, track: null }; +let currentMusicSourceName = 'Spotify'; // 'Spotify' or 'Apple Music' - updated from status endpoint // Streaming state management (enhanced functionality) let streamStatusPoller = null; @@ -18137,7 +18138,7 @@ function openYouTubeDiscoveryModal(urlHash) {