MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / buildNormalizedFileName

Function buildNormalizedFileName

yt-dlp/yt-dlp.ts:241–243  ·  view source on GitHub ↗
(artist: string, title: string)

Source from the content-addressed store, hash-verified

239}
240
241function buildNormalizedFileName(artist: string, title: string): string {
242    return `${normalizeTextForFile(title)} - ${normalizeTextForFile(artist)}`;
243}
244
245async function downloadYtDlp(msg: Api.Message, isUpdate: boolean = false): Promise<void> {
246    if (isUpdate && fs.existsSync(YTDLP_PATH)) {

Callers 1

downloadAndUploadSongFunction · 0.85

Calls 1

normalizeTextForFileFunction · 0.85

Tested by

no test coverage detected