Fix Wing It downloads not creating download bubble
The discoverMetadata (needed for bubble creation) was only set for playlist IDs starting with discover_lb_, listenbrainz_, or source SoulSync. Wing It uses wing_it_ prefix which wasn't matched. Added wing_it_ to the condition so bubbles appear on dashboard and sidebar during Wing It downloads.
This commit is contained in:
parent
9556fc9b5c
commit
3c19cc085b
1 changed files with 1 additions and 1 deletions
|
|
@ -11892,7 +11892,7 @@ async function openDownloadMissingModalForYouTube(virtualPlaylistId, playlistNam
|
|||
'YouTube';
|
||||
|
||||
// Store metadata for discover download sidebar (will be added when Begin Analysis is clicked)
|
||||
if (source === 'SoulSync' || virtualPlaylistId.startsWith('discover_lb_') || virtualPlaylistId.startsWith('listenbrainz_')) {
|
||||
if (source === 'SoulSync' || virtualPlaylistId.startsWith('discover_lb_') || virtualPlaylistId.startsWith('listenbrainz_') || virtualPlaylistId.startsWith('wing_it_')) {
|
||||
// Extract image URL from album context or first track's album cover
|
||||
let imageUrl = null;
|
||||
if (album && album.images && album.images.length > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue