Created
November 22, 2018 14:13
-
-
Save 4nth0/a59632d2031200db6f76b451fdfad725 to your computer and use it in GitHub Desktop.
Play YT Playlist directly in terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yt_link_to_media=`youtube-dl -g -f bestaudio $1` | |
/Applications/VLC.app/Contents/MacOS/VLC --intf ncurses $yt_link_to_media | |
# use: ./stream-cli.sh https://www.youtube.com/playlist?list=PLB40FF393ACBEA4A1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment