From 5450f4ac5ee95382cffe85fb66f3c5bc1a46a905 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Sat, 16 May 2026 17:43:38 -0700 Subject: [PATCH] Wire Amazon Music enrichment worker into dashboard UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds full parity with Deezer/Qobuz/Tidal/Discogs in every dashboard UI layer — orb button, live tooltip, WebSocket push, rate speedometer. - webui/index.html: Amazon enrichment orb button after Discogs - webui/static/amazon.svg: local icon (a + smile, same pattern as hydrabase.png — avoids external URL dependency) - webui/static/style.css: Amazon button/spinner/tooltip CSS with FF9900 brand color; added to mobile tooltip suppress list - webui/static/worker-orbs.js: Amazon orb in WORKER_DEFS [255,153,0] - webui/static/api-monitor.js: Amazon in rate gauge services list, label, and color map - webui/static/enrichment.js: updateAmazonEnrichmentStatusFromData, toggleAmazonEnrichment, DOMContentLoaded init + 2s poll - webui/static/core.js: socket.on enrichment:amazon-enrichment listener - web_server.py: amazon-enrichment added to _emit_enrichment_status_loop workers dict so WebSocket pushes fire every 2s --- web_server.py | 1 + webui/index.html | 23 +++++ webui/static/amazon.svg | 5 + webui/static/api-monitor.js | 4 +- webui/static/core.js | 1 + webui/static/enrichment.js | 106 +++++++++++++++++++++ webui/static/style.css | 180 ++++++++++++++++++++++++++++++++++++ webui/static/worker-orbs.js | 1 + 8 files changed, 320 insertions(+), 1 deletion(-) create mode 100644 webui/static/amazon.svg diff --git a/web_server.py b/web_server.py index 3b196fe5..b9a2a80c 100644 --- a/web_server.py +++ b/web_server.py @@ -33898,6 +33898,7 @@ def _emit_enrichment_status_loop(): 'genius-enrichment': lambda: genius_worker, 'tidal-enrichment': lambda: tidal_enrichment_worker, 'qobuz-enrichment': lambda: qobuz_enrichment_worker, + 'amazon-enrichment': lambda: amazon_worker, 'hydrabase': lambda: hydrabase_worker, 'soulid': lambda: soulid_worker, 'listening-stats': lambda: listening_stats_worker, diff --git a/webui/index.html b/webui/index.html index e0db6b88..7ff1b3c9 100644 --- a/webui/index.html +++ b/webui/index.html @@ -541,6 +541,29 @@ + +