Skip to content

Commit

Permalink
add video duration
Browse files Browse the repository at this point in the history
  • Loading branch information
smasato committed May 14, 2021
1 parent 1da5699 commit 4be61d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/destreamer.ts
Expand Up @@ -132,6 +132,7 @@ async function downloadVideo(videoGUIDs: Array<string>, outputDirectories: Array
videos.forEach((video: Video) => {
logger.info(
'\nTitle: '.green + video.title +
'\nDuration: '.green + Array.from(video.duration.split('.'), x => x.padStart(2, "0")).join(':') +
'\nOutPath: '.green + video.outPath +
'\nPublished Date: '.green + video.publishDate +
'\nPlayback URL: '.green + video.playbackUrl +
Expand Down

0 comments on commit 4be61d7

Please sign in to comment.