Skip to content

Instantly share code, notes, and snippets.

@Fonsan
Created May 16, 2017 11:54
Show Gist options
  • Save Fonsan/df090fee23c29031297c1cf530b22eea to your computer and use it in GitHub Desktop.
Save Fonsan/df090fee23c29031297c1cf530b22eea to your computer and use it in GitHub Desktop.
# https://streamlink.github.io/
tw() {
TMPFILE=`mktemp`
echo $TMPFILE
vlc $TMPFILE &
streamlink --hls-segment-threads 10 -f -o $TMPFILE $1 best
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment