revert: remove official audio suffix — plain artist-title query only
official audio consistently breaks remixes and lesser-known artists. Duration filter is the primary quality check. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
8deeaa6475
commit
33c0751db6
1 file changed
+1
-4
@@ -179,10 +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 isRemix = /\b(remix|edit|flip|vip|bootleg|mix|rework|cover)\b/i.test(title);
|
const query = `${mainArtist} - ${title}`;
|
||||||
const query = isRemix
|
|
||||||
? `${mainArtist} - ${title}`
|
|
||||||
: `${mainArtist} - ${title} official 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 = [
|
||||||
|
|||||||
Reference in new issue
Block a user