Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
September 19, 2021 01:07 am GMT

get YouTube playlist & media files duration easily

dur-cli is a CLI tool that helps you show total duration of media files on your computer, and also YouTube playlist duration.

first, install it using NPM:
npm i -g dur-cli
second, cd into any folder and run:
dur

view YouTube playlist duration:

dur --pl PLAYLIST_ID_OR_URL

but first, have your own Google API key by following this very short tutorial here: https://youtu.be/Jl9Nitf8PJs

to view all options, type dur -h

For a live demo, watch this video https://youtu.be/JKXq7reTbAM

Try it and give your feedback. Have happy times!!

Source code: https://github.com/roktcode/duration-cli


Original Link: https://dev.to/iamrokt/get-youtube-playlist-media-files-duration-easily-3fa7

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To