Skip to content

python script to integrate with livestreamer on Windows

Notifications You must be signed in to change notification settings

maxrenke/twitch_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitch_viewer

python script to integrate with livestreamer on Windows

Twitch Oauth Code - https://twitchapps.com/tmi/

Streamlink - https://github.com/streamlink/streamlink

Python 2.7 - https://www.python.org/download/releases/2.7/

VLC - http://www.videolan.org/vlc/index.html

Installation

Install VLC

Install Streamlink

Install Python 2.7 (the script requries Python 2.7, you can add this to your PATH in Windows)

Place twitch.py, tw.bat, and ls.bat in your User Directory (Windows)

Add your client ID to twitch.py and your OAUTHTOKEN token to ls.bat

Usage

From run or command line type 'tw' OR 'python twitch.py'

You can select one or more than one stream. They will open up in separate instances of VLC. The original window will close

Configuration

You need to add your oauth code to ls.bat script (you can get the oauth code here)

You may want to change how ls.bat works, I have it hard coded for 'source' quality

tw.bat is just what I use as an alias on Windows

Notes

Sometimes channels you follow won't appear in the script, you'll need to go to Twitch.com and re-follow them to show up.

About

python script to integrate with livestreamer on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages