Orion Is A QML / C++ Twitch Desktop Client With VODs And Chat Support

Orion is a free and open source QML / C++ client for Twitch.tv which can use multiple player backends (including mpv). The application runs on Linux, Windows, macOS and Android.

Using Orion you can watch live Twitch streams and past broadcasts, and browse or search games and channels using a nice material user interface. What's more, Orion lets you login to Twitch, so you can chat and follow channels (and receive notifications when a channel you follow goes online).

The application allows customizing various aspects, like changing the stream quality, switching between light and dark user interface themes, and changing the chat position and font size.

Orion Qml/C++ Twitch client

Main Orion Twitch client features:

  • Play live Twitch streams or past VODs using one of 3 backends: mpv, QtAV or Qt5 Multimedia (mpv is default)
  • Browse and search Twitch games and channels
  • Login using your Twitch credentials
  • Desktop notifications when a followed channel comes online (including an option to show offline notifications)
  • Chat support
  • Light and Dark themes with configurable font
  • Change chat position (right, left or bottom)
  • Options to start minimized, close to tray and keep on top

Here's how Orion works. When you go to the channels list, you'll notice that each channel uses its icon as a thumbnail, with the channel name in an overlay on top of the icon:

Orion Qml/C++ Twitch client

I would have liked to see the stream title, number of current viewers, and a preview in the channel list, or have an option for this. These are available, but not directly in the channel list. You can see a channel preview on mouse over, while the stream title and viewer count are available after you click on a channel:

Orion Qml/C++ Twitch client

From this bottom overlay (which is displayed after you click on a channel) you can start playing the stream, follow or unfollow the channel, open the chat without watching the stream, or access past videos. You can also right click a channel to access these options.

In the player view you'll find the regular video player controls, along with the quality selector (with source as the default quality) at the bottom, while the top overlay lets you follow / unfollow a channel or toggle the chat, which is displayed on the right-hand side of the screen by default:

Orion Twitch client

The chat panel uses autohide by default, but you can force it to always be displayed by clicking the lock icon its upper left corner. When the chat is locked (set to always visible), the video is shifted to the left so the chat isn't displayed on top of the video, and the chat width is resizable.

Download Orion

The Orion GitHub project page doesn't offer any Linux binaries for download, but there are packages out there for multiple Linux distributions:

  • Arch Linux AUR packages for the latest Orion stable or Git.
  • Ubuntu 18.04 / Linux Mint 19: here's the latest Orion Twitch client as a DEB package (if you want to add the PPA you can find it here). There's another PPA which has the latest Orion for Ubuntu 18.04 and an older Orion version for Ubuntu 16.04 - I only tried the Ubuntu 18.04 package from this second PPA but the Orion window is very small upon launching the application, that's why I prefer the first package.
  • Fedora 29, 28 and 27 have Orion in its repositories.
  • openSUSE Tumbleweed and Leap 15.0 have Orion in the official repositories.

In case you're using a different Linux distribution, you'll need to search for Orion packages for yourself or build it from source.

If you prefer to build Orion from source on Debian/Ubuntu-based Linux distributions (with mpv as the backend), here's how to compile it. Orion requires Qt 5.8 or newer! That means you'll need Ubuntu 18.04 / Linux Mint 19 to build it, or if you want to compile it in an older Ubuntu version, you'll need to install a newer Qt version from a PPA, etc.

1. Install the required dependencies on your Debian/Ubuntu-based Linux distribution:

sudo apt install qt5-default qtdeclarative5-dev qtquickcontrols2-5-dev libqt5svg5-dev libmpv-dev mesa-common-dev libgl1-mesa-dev libpulse-dev

2. Download (using wget), build and install Orion:

cd && wget https://github.com/alamminsalo/orion/archive/1.6.5.tar.gz
tar -xvf 1.6.5.tar.gz
cd orion-1.6.5
mkdir build && cd build
qmake ../
make && sudo make install

If you want to build a different Orion version, make sure you adjust the first 3 commands with the exact file/version name.

Fixing the default Orion theme when using QT_STYLE_OVERRIDE (not required in most cases)

I use Kvantum to style Qt5 applications on my Gnome desktop, and export the Kvantum style using QT_STYLE_OVERRIDE. Due to this, Orion does not use its default theme which causes some fonts to be invisible or hard to read.

This is how Orion looks when used with Kvantum set as the QT_STYLE_OVERRIDE:

If you're in the same situation, you can fix the Orion theme by launching the application like this:


To change the Orion desktop file to include this so you can launch Orion from your menu and have it use the correct theme, copy the Orion desktop file from /usr/share/applications/ to ~/.local/share/applications/, edit it in this second location and change Exec=orion to Exec=env QT_STYLE_OVERRIDE= orion

You can do all of this from a terminal using these commands:

cp /usr/share/applications/Orion.desktop ~/.local/share/applications/

sed -i 's/Exec=orion/Exec=env QT_STYLE_OVERRIDE= orion/' ~/.local/share/applications/Orion.desktop

No comments:

Powered by Blogger.