Skip to content

Latest commit

 

History

History
86 lines (57 loc) · 2.01 KB

README.md

File metadata and controls

86 lines (57 loc) · 2.01 KB

Twplay

Twplay allows you to watch a Twitch VOD while displaying the chat in sync.

Features

  • BTTV and 7TV Emotes
  • Chromecast (for now only in the python version, on branch dev/python)
  • Sync offset between player and chat

Examples

Dependencies

Installation

THIS WAS TESTED ONLY ON MAC OS

Chat renderer

cd twitch_chat_render/
flutter config --enable-macos-desktop
flutter build macos --release
cp -r build/macos/Build/Products/Release/twitch_chat_render.app /Applications

For other platforms, more information here.

twplay

cd twplay/
MIX_ENV=prod mix escript.install --force

Basic usage

twplay https://www.twitch.tv/videos/<vod_id>

A MPV window should open, with a chat render window. You just need to position them side by side, and then you can start the playback.

  • Twitchtracker
twplay https://twitchtracker.com/<streamer_name>/streams/<stream_id>
  • Chromecast (UPCOMING)
twplay https://www.twitch.tv/videos/<vod_id> --cast
  • Help
twplay --help

Debugging

You can launch a REPL in the context if this app, using the following command:

iex --remsh twplay@<host> --sname <name>

where <host is the name of your device, and <name> is a name of your choice.

Upon launching the app, the <host will be printed in the console.

Thanks

I would like to thank Lewis Pardo for making TwitchDownloaderCLI, and inspiring me to do this project !