3 ms·
#!/bin/bash url=`xsel` notify-send "Downloading - $url" youtube-dl -o - "$url" -f 43 | mplayer - Whatever is in your default xsel buffer gets strea
by noir_lord 10y ago
#!/bin/bash
url=`xsel`
notify-send "Downloading - $url"
youtube-dl -o - "$url" -f 43 | mplayer -
Whatever is in your default xsel buffer gets streamed to mplayer, if you bind it a keyboard shortcut (I use alt+shift+y (for Youtube)).
Makes life a lot more convenient :)