fix: use 'audio' instead of 'official audio' in search query

'official audio' biased towards artist's main channel (wrong for remixes).
No suffix caused piano covers to rank top. 'audio' filters covers/tutorials
without over-specifying to official channels.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-04-28 19:15:21 +02:00
1 parent 11e981215c
commit 06c38cd427
1 file changed
+1 -1
+1 -1
View File
@@ -179,7 +179,7 @@ async function downloadTrack({ jobId, artist, albumArtist, title, album, year, t
} }
const outputTemplate = path.join(dir, `${trackPrefix}${safeTitle}.%(ext)s`); const outputTemplate = path.join(dir, `${trackPrefix}${safeTitle}.%(ext)s`);
const query = `${mainArtist} - ${title}`; const query = `${mainArtist} - ${title} audio`;
// Step 1: yt-dlp — audio only, no thumbnail (we embed iTunes artwork ourselves) // Step 1: yt-dlp — audio only, no thumbnail (we embed iTunes artwork ourselves)
const baseArgs = [ const baseArgs = [