1
mirror of https://github.com/streamlink/streamlink synced 2024-11-16 05:03:49 +01:00
Go to file
2012-03-21 16:31:41 +01:00
src/livestreamer Move CLI related constant to cli.py. 2012-03-21 16:31:41 +01:00
.gitignore Initial commit. 2011-08-15 04:37:22 +02:00
README.md Use a markdown README instead. 2012-01-19 23:29:28 +01:00
setup.py Some code rearrangements. 2011-10-26 03:23:43 +02:00

Livestreamer

CLI program that helps launch various streaming services in a real player instead of flash.

Installing

$ sudo python setup.py install

Livestreamer is compatible with Python version >= 2.6 and 3.0.

Using

$ livestreamer --help

Example usage

Find out what stream qualities are available

$ livestreamer http://www.twitch.tv/ignproleague
Found streams: 240p, 360p, 480p, 720p, iphonehigh, iphonelow, live

Now play one of them

$ livestreamer http://www.twitch.tv/ignproleague 720p

Stream now playbacks in default player (VLC).

Saving arguments AKA config file

Livestreamer can read arguments from the file ~/.livestreamerrc. A example file:

player=mplayer
jtv-cookie=_jtv3_session_id=arandomhash

Notes

Currently supported sites are:

  • Justin.tv/Twitch.tv
  • Own3D.tv
  • UStream

Justin.tv plugin requires rtmpdump with jtv token support (recent git).