Skip to content

Commit

Permalink
add script to play twitch, youtube, etc using livestreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
poliva committed Jul 3, 2014
1 parent fe859af commit 00a6709
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions youtube/twitch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
# http://livestreamer.tanuki.se/en/latest/

URL=$1
if [ -z "$URL" ]; then
URL="http://www.twitch.tv/arkadeum"
fi

#QUALITY="high"
QUALITY="best,high"
#QUALITY="best,source,high,low,medium,mobile,worst"

#PLAYER="mplayer -cache-min 60 -cache 8192"
#PLAYER="mplayer"
PLAYER="totem"

#livestreamer "${URL}" ${QUALITY} -v --player-fifo --player-continuous-http --player "${PLAYER}"
livestreamer "${URL}" ${QUALITY} -v --player-continuous-http --player "${PLAYER}"

0 comments on commit 00a6709

Please sign in to comment.