zefr0x / cwitch

A CLI tool to watch Twitch live streams and videos with the help of mpv and yt-dlp.
GNU General Public License v3.0
9 stars 1 forks source link
alternative-frontends cli client mpv streaming tools twitch video youtube-dl yt-dlp

[!Warning] This project is no longer maintained. If you are interested, it's free software under the GPL-3.0 license.

cwitch

AUR votes

AUR version

A CLI tool for watching Twitch live streams and videos with the help of mpv and yt-dlp.

Features

Installation

AUR

AUR last modified

Using paru

paru -Sa cwitch

Using yay

yay -Sa cwitch

From github

pip install https://github.com/zefr0x/cwitch/archive/refs/tags/v0.3.0.zip

You might need to use pip3 or python3 -m pip instead of just pip

Usage

Use the --help or -h option to see the help menu.

cwitch -h

There are three subcommands c, s and v. Choose a subcommand and then you can use the -h option to see the help menu for the subcommand.

Creating a channels list

Create a file in you home directory with the path: .config/cwitch/channels.ini if there wasn't . Then add your channels list as following:

[Display Name]
id=channel_id

[Display Name]
id=channel_id

Change the configurations

Create a file on you home directory with the path: .config/cwitch/config.ini if there wasn't. Then overwrite an existing option, like this:

[playlist_fetching]
# The default number of fetched videos when listing a channel's videos.
max_videos_count=5

There are no option other than this for now.

For both config and channels list there is an example file in the repo.

Todo