News for hackers. Stuff that matters.
Re:Dear Google, Apple, Mozilla, and MS: Please End Auto-Play... by noir_lord on Sunday November 13, 2016 @11:46AM (#12944169)

    #!/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 :)

There are no comments on this comment yet.