diff --git a/webui/static/script.js b/webui/static/script.js index 1187b357..9327dd2a 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -3669,10 +3669,13 @@ async function openDownloadMissingModalForYouTube(virtualPlaylistId, playlistNam tracks: spotifyTracks }; - // Generate hero section for YouTube playlist context + // Generate hero section with dynamic source detection + const source = playlistName.includes('[Beatport]') ? 'Beatport' : + playlistName.includes('[Tidal]') ? 'Tidal' : 'YouTube'; + const heroContext = { type: 'playlist', - playlist: { name: playlistName, owner: 'YouTube' }, + playlist: { name: playlistName, owner: source }, trackCount: spotifyTracks.length, playlistId: virtualPlaylistId };