GithubHelp home page GithubHelp logo

johnciubuc / streamlinkerino Goto Github PK

View Code? Open in Web Editor NEW
34.0 4.0 2.0 5.62 MB

Twitch.tv client using only StreamLink, MPV, and Chatterino

C++ 74.82% QMake 2.59% CMake 2.26% Dockerfile 20.34%
twitch streamlink mpv chatterino linux player stream integration cpp qt5

streamlinkerino's Introduction

Official Chatterino Implementation

Integration of this application into a first-class chatterino feature is currently in process. Pull request can be viewed here

Testing Branch

Testing branch does not require chatterino to be patched, but it does have a considerable delay (5-10s) on switching streams due to chatterino json writing frequency.

Pre-Release Windows Port

dewcked is working on a windows port version of this project. Repository can be viewed here: https://github.com/dewcked/StreamLinkerino/releases

streamlinkerino

Ever wanted to use StreamLink + MPV + Chatterino all in one application? Look no further, as this project has your solution!

streamlinkerino embeds MPV (using StreamLink as its base) and Chatterino into one application. If you patch Chatterino (Git Link) with the supplied patch file, the MPV stream will auto-update if you switch channels in Chatterino!

Why does this application exist

This project was created for the following reasons:

  1. Avoiding usage of the twitch web application
    • It is unfortunately laggy and resource heavy
    • Embedded stream ads can not be avoided
    • Twitch Player is feature poor (compared to other players)
    • Several bug with streams not loading when using third party extensions like FFZ/BTTV
  2. Avoiding Electron / JS applications
    • Alternatives such as StreamLink Twitch GUI do exist, but you still have to deal with the resource heaviness of electron-based apps and the website itself
  3. Performance
    • The base app and chatterino is C++/Qt. The Player is MPV and StreamLink is used for an ad-free stream experience.
    • The result is a light weight, high performance twitch client

Features

  1. High performance, low memory, and responsive

  2. No mid-roll ads (Thanks streamlink!)

  3. MPV player features:

    • Pause
    • Rewind
    • Fast forward
    • And more!
  4. Streamlink and Chatterino Integration

  5. Seamless stream switching (Chatterino patch required)

Building

Building streamlinkerino

Contributed by dewcked from Release #22:

  1. Install docker and git
  2. git clone https://github.com/JohnCiubuc/streamlinkerino.git --recurse-submodules
  3. git submodule update --recursive --remote
  4. cd streamlinkerino
  5. Pull docker image from Here.
  • Linux) docker run -it --rm -v $(pwd):/src/ --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined reivilo1234/qt-linux-cmake:qt5.15.1 bash
  • Windows) docker run -it --rm -v %CD%:/src/ --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined reivilo1234/qt-linux-cmake:qt5.15.1 bash
  1. mkdir build && cd build
  2. cmake ../src && make

Patching Chatterino

  1. Copy chatterino.patch from the streamlinkerino Patch directory, into chatterino's submodule project directory (same location as chatterino.pro)
  2. patch -p0 < chatterino.patch
  3. Create build folder mkdir build && cd build
  4. Go into build directory
  5. qmake .. && make

TODO:

1. Detect if streamlink is installed, and if not, prompt user

2. Detect if chatterino is installed, and if not, prompt user

3. On switching streams, setup two mpv clients -- one playing current stream and the other loading new stream. When new stream finishes loading, swap to the new client

  1. Currently can only change stream based on chatterino. Add option to change stream ignoring chatterino (or if chatterino isn't patched)

  2. Resize chatterino window

6. Create a settings dialog to specify streamlink/chatterino location and settings

7. Link the settings button in chatterino (if patched) with the settings dialogue in streamlinkerino

  1. Auto apply patch and build chatterino together with streamlinkerino via CMakeLists

Screenshots

ss1

(Older Version)

(Current Version)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.