mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-16 00:14:23 +02:00
adjust yt search query format
This commit is contained in:
@@ -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 || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user