Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 480 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 480 Bytes

playvideo

Bash script to utilize youtube-dl in accord to my own needs

This script retrieves URL from given user input or clipboard or primary (selection), attempts to extract a video, plays it and then asks the user whether to save it to drive or not.

When this script is not being executed via terminal, a simple GUI dialog will be made available for end-users.

Programs used are:

  • mplayer
  • wget (to pipe content from https to mplayer)
  • yad
  • youtube-dl
  • xclip
  • zenity