Skip to content

yt-mpv is a bash script to play, download video and audio from YouTube

License

Notifications You must be signed in to change notification settings

sergey-samoylov/yt-mpv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yt-mpv

yt-mpv is a bash script to play, download video and audio from YouTube

(requirements: yt-dlp, mpv)

Step 1

By default yt-mpv starts with four "example channels". Three of thev are not blured on the screenshot bellow.

You can find out channel ids of your favorite channels and add them to the script as you please.

Or you can paste url as the first argument:

yt-mpv https://...

Or just copy (right click & copy) url of the video you would like to watch, listen or download (audio or video)

In this case yt-mpv will auto-create an entry for it.

start_menu

Step 2

Use arrow-keys to choose or type part of the channel name. Menues are fzf powered and will help you narrow choice options.

Press "Enter" to choose a channel and you yt-mpv will give you the latest titles, that were published.

If there's something, that you would like to watch, listen or download, choose it.

start_menu

Step 3

Now you can choose what to do with the content.

  • download audio
  • download video
  • play audio
  • play video
  • or exit

start_menu

BTW you can exit anytime from yt-mpv by pressing CTRL+C

and start it again to choose another content.

If you like the script and find it useful, consider giving it a star, please.

About

yt-mpv is a bash script to play, download video and audio from YouTube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages