Skip to content

Commit 1aa1898

Browse files
committed
Improve download logging message for clarity
1 parent 71acbf8 commit 1aa1898

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ async function playVideo(message: Message, videoSource: string, title?: string)
457457
logger.warn("Failed to send 'Downloading...' message:", e);
458458
return null;
459459
});
460-
logger.info(`Downloading YouTube link with yt-dlp to temp file: ${videoSource}`);
460+
logger.info(`Downloading ${title || videoSource}...`);
461461

462462
const ytDlpDownloadOptions: Parameters<typeof downloadToTempFile>[1] = {
463463
format: `bestvideo[height<=${streamOpts.height || 720}][ext=mp4]+bestaudio[ext=m4a]/bestvideo[height<=${streamOpts.height || 720}]+bestaudio/best[height<=${streamOpts.height || 720}]/best`,

0 commit comments

Comments
 (0)