From 11e981215cf2004cc891a22c1fe4ac475d1b58aa Mon Sep 17 00:00:00 2001 From: Honey Date: Tue, 28 Apr 2026 19:06:08 +0200 Subject: [PATCH] fix: remove 'official audio' from yt-dlp search query MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For remixes and edits, 'official audio' biases YouTube search towards the artist's official channel (wrong song) instead of the specific version. Duration filter is now the quality check — the plain query is more accurate. Co-Authored-By: Claude Sonnet 4.6 --- backend/novasonic-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/novasonic-server.js b/backend/novasonic-server.js index 7b698e7..57cd02f 100644 --- a/backend/novasonic-server.js +++ b/backend/novasonic-server.js @@ -179,7 +179,7 @@ async function downloadTrack({ jobId, artist, albumArtist, title, album, year, t } const outputTemplate = path.join(dir, `${trackPrefix}${safeTitle}.%(ext)s`); - const query = `${mainArtist} - ${title} official audio`; + const query = `${mainArtist} - ${title}`; // Step 1: yt-dlp — audio only, no thumbnail (we embed iTunes artwork ourselves) const baseArgs = [