# KittehPlayer ![made with c++](https://forthebadge.com/images/badges/made-with-c-plus-plus.svg) ![works 60 percent of the time every time](https://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg) ![libmpv 2.29+](https://img.shields.io/badge/libmpv-2.29+-blue.svg?logo=qt&style=for-the-badge) ![qt 5.12](https://img.shields.io/badge/Qt-5.12-41cd52.svg?logo=qt&style=for-the-badge) A video player based on Qt, QML and libmpv with themes for many online video players.. ## Themes - YouTube ![YouTube Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/YouTube.png) - NicoNico ![NicoNico Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/NicoNico.png) - RoosterTeeth ![RoosterTeeth Screenshot](https://raw.githubusercontent.com/NamedKitten/KittehPlayer/master/screenshots/RoosterTeeth.png) ## FOR PINEPHONE USERS - If you use a pinephone, you MIGHT need config from the gist linked at very bottom. ## How to install ### Windows - Coming Soon:tm: ### Distro Packages - None right now, if you want to then pop me a message on somewhere linked on [My Website](https://kitteh.pw/) and I'll be happy to help if stuff goes wrong. ### From source #### Dependencies ##### Arch Linux ``` pacman -S git cmake qt5-svg qt5-declarative qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects mpv ``` ##### Ubuntu Xenial ``` sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y sudo apt update sudo apt install build-essential git nasm qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev libmpv-dev sudo apt-get build-dep mpv libmpv* ffmpeg ``` ##### Debian ``` sudo apt install build-essential cmake qtquickcontrols2-5-dev qtbase5-dev qtdeclarative5-dev libqt5x11extras5-dev libmpv-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-extras qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets qml-module-qtquick-localstorage qml-module-qt-labs-settings qml-module-qt-labs-platform qtbase5-private libqt5svg5 ``` - Note that I don't know if this is the full list yet, pop a issue up if building fails. #### Instructions - `git clone https://github.com/NamedKitten/KittehPlayer KittehPlayer` - `cd KittehPlayer` - `mkdir build && cd build` - `cmake .. -DCMAKE_INSTALL_PREFIX=/usr` - `make` - `sudo make install` - The finished player will then be installed and you can launch it using `KittehPlayer` ## Configuration - For docs on KittehPlayer please view DOCS.md or `man KittehPlayer` - If you get a white screen when trying to play a video see [Here](https://gist.github.com/NamedKitten/675ca8587a8f714a856c6d6d14a9562a) for a config that may work.