fix: use playlist/album artworkUrl as fallback when track has no cover

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-13 10:41:01 +02:00
1 parent ee05998840
commit 74a452c037
1 file changed
+1 -1
+1 -1
View File
@@ -289,7 +289,7 @@ app.post('/api/download', async (req, res) => {
trackNum: itunes.trackNum || track.trackNumber || undefined,
totalTracks: itunes.totalTracks || undefined,
genre: itunes.genre || track.primaryGenreName || undefined,
artworkUrl: itunes.artworkUrl || track.artworkUrl100 || '',
artworkUrl: itunes.artworkUrl || track.artworkUrl100 || artworkUrl || '',
explicit: track.trackExplicitness === 'explicit',
durationMs: itunes.durationMs || track.durationMs || undefined,
});