diff --git a/web_server.py b/web_server.py index d1210e43..ef51af77 100644 --- a/web_server.py +++ b/web_server.py @@ -30128,6 +30128,7 @@ def get_watchlist_artists(): "updated_at": artist.updated_at.isoformat() if artist.updated_at else None, "image_url": artist.image_url, # Cached during watchlist scans "itunes_artist_id": artist.itunes_artist_id, # For iTunes-only artists + "deezer_artist_id": getattr(artist, 'deezer_artist_id', None), "include_albums": artist.include_albums, "include_eps": artist.include_eps, "include_singles": artist.include_singles, diff --git a/webui/static/script.js b/webui/static/script.js index 9cb5a672..6b07fc79 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -34267,21 +34267,26 @@ async function showWatchlistModal() { if (artist.include_remixes) pills.push('Remixes'); if (artist.include_acoustic) pills.push('Acoustic'); if (artist.include_compilations) pills.push('Compilations'); + const sourceBadges = []; + if (artist.spotify_artist_id) sourceBadges.push('Spotify'); + if (artist.itunes_artist_id) sourceBadges.push('iTunes'); + if (artist.deezer_artist_id) sourceBadges.push('Deezer'); + const artistPrimaryId = artist.spotify_artist_id || artist.itunes_artist_id || artist.deezer_artist_id; return `