Fix missing album cover art in download bubbles for redownload and issue downloads
This commit is contained in:
parent
87b39634a0
commit
f4af4ea7db
1 changed files with 2 additions and 0 deletions
|
|
@ -56622,6 +56622,7 @@ async function issueDownloadAlbum(spotifyAlbumId, artistName, albumName) {
|
||||||
id: albumData.id,
|
id: albumData.id,
|
||||||
album_type: albumData.album_type || 'album',
|
album_type: albumData.album_type || 'album',
|
||||||
images: albumData.images || [],
|
images: albumData.images || [],
|
||||||
|
image_url: albumData.images?.[0]?.url || null,
|
||||||
release_date: albumData.release_date,
|
release_date: albumData.release_date,
|
||||||
total_tracks: albumData.total_tracks,
|
total_tracks: albumData.total_tracks,
|
||||||
artists: albumData.artists || [{ name: artistName }]
|
artists: albumData.artists || [{ name: artistName }]
|
||||||
|
|
@ -56717,6 +56718,7 @@ async function redownloadLibraryAlbum(album, artistName, btn) {
|
||||||
id: albumData.id,
|
id: albumData.id,
|
||||||
album_type: albumData.album_type || 'album',
|
album_type: albumData.album_type || 'album',
|
||||||
images: albumData.images || [],
|
images: albumData.images || [],
|
||||||
|
image_url: albumData.images?.[0]?.url || null,
|
||||||
release_date: albumData.release_date,
|
release_date: albumData.release_date,
|
||||||
total_tracks: albumData.total_tracks,
|
total_tracks: albumData.total_tracks,
|
||||||
artists: albumData.artists || [{ name: artistName || '' }]
|
artists: albumData.artists || [{ name: artistName || '' }]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue