Skip to content

Commit

Permalink
Downloader plugin: log audio bitrate
Browse files Browse the repository at this point in the history
  • Loading branch information
th-ch committed Jan 13, 2021
1 parent 6d587cb commit b54c501
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/downloader/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b54c501

Please sign in to comment.