Skip to main content

Overview

cr_download checks recent Critical Role Twitch VODs for videos with titles looking like Critical Role episode titles, and prompts the user to download each one. The file is downloaded as video using the streamlink API, and converted to audio using ffmpeg.

Optionally, cr_download can use the Chromaprint music fingerprinting algorithm to attempt to detect the soundtracks Critical Role plays before/after the show, in the opening credits, and during the break. If a good enough set of transition points is found in the episode audio, cr_download will recut the audio to leave out pre/post-show segments, intermission, and (optionally) the announcement section of the episode.

In addition, cr_download can also upload the audio files for the episode to a fixed Google drive folder.

Setup

  1. Install ffmpeg if you haven't already.

  2. If installing via pip (recommended, if I've actually uploaded the package to PyPI by the time you read this), run pip install cr-download.

    Otherwise, download and extract the repository, and run python setup.py install from the directory you extracted it to.

  3. Run streamlink --twitch-oauth-authenticate to authorize streamlink to access your Twitch account. Copy the provided oauth token into your config file, located at ~/.config/cr_download/config.yaml (it will be automatically created the first time you run the program).

Usage

Run critrole_download (it should be added to your path after installation) to display a list of recent Critical Role VODs. You may choose one (or more) to download and convert to audio.

To run the automatic audio editor on the downloaded files, run critrole_download -a.

You can also run autocut_vod FILENAME [FILENAME ...] to run the autocutting tool on a local audio/video file.

To see a full list of options for each command, run critrole_download -h or autocut_vod -h. You can also change the behavior of the program by editing options in the configuration file located at ~/.config/cr_download/config.yaml.

Release files for cr-download 0.93.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cr-download 0.93.0
File Size Uploaded
cr_download-0.93.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cr-download 0.93.0
File Interpreter ABI Platform
cr_download-0.93.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / cr_download-0.93.0.tar.gz

Download URL cr_download-0.93.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d17976af079d5840e8c62379b34476453b5357eba5d1f438c1dda2efeaa8c223
BLAKE2b-256 checksum
How to use checksums
3b32568b366d9d23d9710d55ecadfd2f463b60b6dee9814622984f9e13f46ef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.7.2

Release files / cr_download-0.93.0-py3-none-any.whl

Download URL cr_download-0.93.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5724b10530cb7442ec7f7ca853d8871660b2143b315d9fb14239882ac31c365f
BLAKE2b-256 checksum
How to use checksums
48ebd5b20f2eb3a7171250a0ce61570f0f5b6668c8cf2970214d41bae3950bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.93.0 This release

2 release files

0.92

1 release file

0.91

2 release files

0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page