mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
adjust yt search query format
This commit is contained in:
@@ -84,7 +84,7 @@ function buildYoutubeSearchQuery(
|
||||
): string {
|
||||
const t = (title ?? '').trim();
|
||||
const a = (artistName ?? '').trim();
|
||||
if (t && a) return `${t} by ${a}`;
|
||||
if (t && a) return `${a} - ${t}`;
|
||||
return t || a || '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user