We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e26e10d commit 7b77acdCopy full SHA for 7b77acd
src/main/player/tidal/tidal.ts
@@ -562,7 +562,7 @@ async function getPlaylistData(data: PlaylistDataShort): Promise<PlaylistData> {
562
albumId: song.item.album ? "" + song.item.album.id : undefined,
563
artists: artists,
564
artistString: artistString.substring(0, artistString.length - 2),
565
- albumCoverUrl: song.item.album ? TIDAL_RESOURCES_URL + "images/" + song.item.album.cover.replaceAll('-', '/') + "/750x750.jpg" : undefined,
+ albumCoverUrl: song.item.album && song.item.album.cover ? TIDAL_RESOURCES_URL + "images/" + song.item.album.cover.replaceAll('-', '/') + "/750x750.jpg" : undefined,
566
playlist: "tidal_" + data.identifier,
567
index: i,
568
}
0 commit comments