Home

Awesome

qtube

qtube is a frontend for youtube that uses pyqt, youtube-dl and mpv (via python-mpv).

<p align="middle"> <img src="assets/image.png" width="90%" /> </p>

Requirements

Setup

git clone git@github.com:hdb/qtube.git
cd qtube
pip install -r requirements.txt

Then to run qtube:

python qtube.py

Features & Usage

qtube aims to be highly modifiable. Configuration settings are not currently possible within the application, but you use command line options to adjust some simple parameters:

qtube [-h] [-u ] [-c [[...]]] [-d ] [-s [[...]]] [-n ]

optional arguments:
  -h, --help            show this help message and exit
  -u [], --home-url []  playlist url to fetch on opening
  -c [ [ ...]], --color [ [ ...]]
                        specify foreground color, background color, inactive
                        color
  -d [], --download-to []
                        directory to download videos to
  -s [ [ ...]], --search [ [ ...]]
                        skip loading home page and search
  -n [], --number []    number of results to load per page

Click videos to play natively in player. Right-click for further options (i.e., to download videos). Downloaded videos can be played natively as well.

Most mpv keybindings will work when the mpv player is selected. Important differences to note are:

See the mpv manual for details on mpv-specific keybindings.