Advertisement
rokytnji

Using youtube-dl to play in any media player instantly.

Sep 27th, 2015
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. ####I am using mpv player. Sub in mplayer, vlc, what ever you prefer where mpv sits in my code line.####
  2. ### All credit goes to http://www.linuxquestions.org/questions/blog/the-dsc-472367/pipeing-youtube-dl-output-to-a-given-player-and-having-it-as-a-mini-script-36710/#comment40927 aka "the dsc".################################
  3.  
  4.  
  5.  
  6.  
  7.  
  8. youtube-dl <youtube url goes here> -f ${2:-5} $1 -q -o - | mpv -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement