Downloader plugin: log audio bitrate

This commit is contained in:
TC
2021-01-13 21:36:16 +01:00
parent 6d587cb432
commit b54c501eeb

View File

@ -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)