Rupert "Ripper" (Giles) is an Optical Media extractor. It's goal is to provide a simple interface for automatically ripping CD, DVD, and Blu-Ray discs and encoding their contents in digital media files.
Go to file
Dustin 943cf4dbd2 main: prompt_menu: Print prompt text on stderr
The `rich.prompt.Prompt.ask` method does not print the prompt text on
the console provided.  It simply calls the built-in `input` function.
The `input` function is broken and unconditionally prints the prompt
text to standard output.

To work around both of these dumb limitations, we need to print the
prompt text ourselves and pass an empty string to `Prompt.ask` to avoid
printing anything on stdout that doesn't belong.
2021-12-12 21:14:35 -06:00
.vscode Initial commit 2021-01-19 17:48:32 -06:00
src/rupert main: prompt_menu: Print prompt text on stderr 2021-12-12 21:14:35 -06:00
.gitignore Initial commit 2021-01-19 17:48:32 -06:00
.pylintrc Initial commit 2021-01-19 17:48:32 -06:00
README.md Add README 2021-12-12 21:09:57 -06:00
mypy.ini Initial commit 2021-01-19 17:48:32 -06:00
poetry.lock Update poetry.lock 2021-12-12 21:09:28 -06:00
pyproject.toml meta: Update python-libdiscid 2021-12-12 21:09:01 -06:00

README.md

Rupert

Rupert the Ripper is a command-line tool for ripping audio CDs.

Prerequisites

You must have direct read/write access to your CD-ROM block device. On Fedora, this can be achieved by adding your user to the disk group:

sudo gpasswd -a ${USER} disk

You will need to log out and back in for this change to take effect.

Installation

System Dependencies

Fedora

sudo dnf install \
    cdparanoia \
    flac \
    libdiscid-devel \
    poetry \
    python3-devel \
    --

Install Rupert

There are no published releases of Rupert yet, so you will need to install it from a git checkout:

git clone https://git.pyrocufflink.blue/dustin/rupert.git
cd rupert
poetry install -E udev

The udev extra enables support for identifying CD drives using udev. This allows Rupert to find your drive and select the correct offset automatically.

Usage

The ripper command is the main entry point for Rupert. If you installed using poetry, you can run it with poetry run ripper.

poetry run ripper --help