Last active
April 20, 2018 20:55
-
-
Save mikerr/2c32e16d5757104c5aa0ef6f2bb262a7 to your computer and use it in GitHub Desktop.
play youtube from ssh
This file contains 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 | |
export DISPLAY=:0 | |
youtube-dl -q -f 17 -o- $1 | mplayer -zoom -x 320 -y 210 - | |
#usage: ./youtube.sh https://youtu.be/watch=cgchcjk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment