An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
September 19, 2021 01:07 am GMT
second,
Original Link: https://dev.to/iamrokt/get-youtube-playlist-media-files-duration-easily-3fa7
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To