adjust yt search query format

This commit is contained in:
jeffvli
2026-02-07 00:41:55 -08:00
parent f46ca8cd35
commit 1824083b99
@@ -84,7 +84,7 @@ function buildYoutubeSearchQuery(
): string { ): string {
const t = (title ?? '').trim(); const t = (title ?? '').trim();
const a = (artistName ?? '').trim(); const a = (artistName ?? '').trim();
if (t && a) return `${t} by ${a}`; if (t && a) return `${a} - ${t}`;
return t || a || ''; return t || a || '';
} }