From b54c501eeb779cda30243f76b0cc744e02e1f409 Mon Sep 17 00:00:00 2001 From: TC Date: Wed, 13 Jan 2021 21:36:16 +0100 Subject: [PATCH] Downloader plugin: log audio bitrate --- plugins/downloader/youtube-dl.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/downloader/youtube-dl.js b/plugins/downloader/youtube-dl.js index e2f57575..28f9836d 100644 --- a/plugins/downloader/youtube-dl.js +++ b/plugins/downloader/youtube-dl.js @@ -54,7 +54,12 @@ const downloadVideoToMP3 = ( .on("info", (info, format) => { videoName = info.videoDetails.title.replace("|", "").toString("ascii"); if (is.dev()) { - console.log("Downloading video - name:", videoName); + console.log( + "Downloading video - name:", + videoName, + "- quality:", + format.audioBitrate + "kbits/s" + ); } }) .on("error", sendError)