Skip to content

utsavpatel51/YouTubeCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YouTubeCLI

How to setup MPV and youtube-dl?

  • Download mpv for windows rom here. -- Extract the downloaded zip file and run the batch file. -- provide 'y' to install mpv and do no install youtube-dl from script.
  • Download youtube-dl from here.

Commands

1. Get list of command

Use help command to get the list and help text for each command currently supported

2. Set necessary config values

Use set command to see the current configuration. To change particular configuration you can use set [key]=[value]. For example set API_KEY=abc-sample-api-key.

Note: For MPV_PATH provide the path for mpv instead of mpv.exe

3. Search for songs

Use search=[value] to search the song. After hitting above command you will see the list of available youtube video matching your search text. Use to play particular video, to download any video use download=, to add any video to playlist use add_to_playlist=. If you choose to play video mpv player will play your video based on your configuration.

4. Use Playlist

Use playlist=[name] create to create the playlist. After that you can search for any video using search command and can use add_to_playlist option to add video to playlist. You can use playlist=[name] play to play entire playlist.

Updates

[05-10-2021]

  • Added support for create/play playlists

About

CLI to access YouTube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages