From b0cfdf52712b6e2a66683b049d5a9a7489c1c820 Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Tue, 11 Nov 2025 17:05:44 -0800 Subject: [PATCH] progress --- core/watchlist_scanner.py | 7 +++---- webui/index.html | 24 ++++++++++++------------ webui/static/script.js | 10 +++++----- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/core/watchlist_scanner.py b/core/watchlist_scanner.py index 590199df..9d9bc0bc 100644 --- a/core/watchlist_scanner.py +++ b/core/watchlist_scanner.py @@ -676,10 +676,9 @@ class WatchlistScanner: import random # Check if we should run (prevents over-polling Spotify) - # TEMPORARILY DISABLED FOR TESTING - # if not self.database.should_populate_discovery_pool(hours_threshold=24): - # logger.info("Discovery pool was populated recently (< 24 hours ago). Skipping to avoid over-polling Spotify.") - # return + if not self.database.should_populate_discovery_pool(hours_threshold=24): + logger.info("Discovery pool was populated recently (< 24 hours ago). Skipping to avoid over-polling Spotify.") + return logger.info("Populating discovery pool from similar artists...") diff --git a/webui/index.html b/webui/index.html index 9e0ef013..4bead74d 100644 --- a/webui/index.html +++ b/webui/index.html @@ -1665,19 +1665,19 @@ - +
-

Release Radar

-

Fresh tracks from new releases

+

Fresh Tape

+

New drops from recent releases

- - @@ -1704,24 +1704,24 @@
-

Loading release radar...

+

Loading fresh tape...

- +
-

Discovery Weekly

-

A personalized playlist just for you

+

The Archives

+

Curated from your collection

- - @@ -1748,7 +1748,7 @@
-

Curating your discovery playlist...

+

Loading the archives...

diff --git a/webui/static/script.js b/webui/static/script.js index 0cf04c93..ba95b971 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -24235,13 +24235,13 @@ async function loadDiscoverPage() { } async function checkForActiveDiscoverSyncs() { - // Check if Release Radar sync is active + // Check if Fresh Tape sync is active try { const releaseRadarResponse = await fetch('/api/sync/status/discover_release_radar'); if (releaseRadarResponse.ok) { const data = await releaseRadarResponse.json(); if (data.status === 'syncing' || data.status === 'starting') { - console.log('🔄 Resuming Release Radar sync polling after page refresh'); + console.log('🔄 Resuming Fresh Tape sync polling after page refresh'); // Show status display const statusDisplay = document.getElementById('release-radar-sync-status'); @@ -24265,13 +24265,13 @@ async function checkForActiveDiscoverSyncs() { // Sync not active, ignore } - // Check if Discovery Weekly sync is active + // Check if The Archives sync is active try { const discoveryWeeklyResponse = await fetch('/api/sync/status/discover_discovery_weekly'); if (discoveryWeeklyResponse.ok) { const data = await discoveryWeeklyResponse.json(); if (data.status === 'syncing' || data.status === 'starting') { - console.log('🔄 Resuming Discovery Weekly sync polling after page refresh'); + console.log('🔄 Resuming The Archives sync polling after page refresh'); // Show status display const statusDisplay = document.getElementById('discovery-weekly-sync-status'); @@ -24851,7 +24851,7 @@ function startDiscoverSyncPolling(playlistType, virtualPlaylistId) { } // Show completion toast - showToast(`${playlistType === 'release_radar' ? 'Release Radar' : 'Discovery Weekly'} sync complete!`, 'success'); + showToast(`${playlistType === 'release_radar' ? 'Fresh Tape' : 'The Archives'} sync complete!`, 'success'); // Hide status display after 3 seconds setTimeout(() => {