On 7/26/15, Henrik Friedrichsen <hen...@diff.cc> wrote: > Hey > > On Sun, Jul 26, 2015 at 10:46:30PM +0100, Dimitris Papastamos wrote: >> Try viewtube[0] and gecko-mediaplayer instead. No hangs on my system >> at all. > > Yeah, that is a workaround. Sometimes I use youtube_dl with mpv. That > was just one example, though ;p > >
I've used essentially this[1] bound to a key in cwm ever since coming across it to watch videos... I prefer browsers to just browse[2]. #!/bin/sh # needs zenity, youtube-dl and vlc installed URL=$(zenity --entry --text "Enter Video URL:") if [ "$URL" = "" ]; then echo "You must enter a url." exit fi TMPFILE=$(mktemp /tmp/youtube-vid.XXXXXX) youtube-dl --no-part -f 18/0/h264-sd -o $TMPFILE "$URL" & DL_PID=$! sleep 5 cvlc -f $TMPFILE vlc://quit kill $DL_PID rm $TMPFILE --- [1] http://daemonforums.org/showpost.php?s=985087eedf0b6bd2d04482749e5fd726&p=50021&postcount=29 [2] I say as typing this into gmail...