Commit Graph

11 Commits (0b84b8dbcff799cc45cd5aa358e93a0f67827025)

Author SHA1 Message Date
Dustin 0b84b8dbcf wip: make metadata optional 2024-01-13 10:18:49 -06:00
Dustin 2b43b2e3af Update poetry.lock 2021-12-12 22:15:45 -06:00
Dustin 7b3427fc2c ripper: Add support for fetching album art
If the `PIL` module is available, which can be installed by activating
the *art* extra for Rupert, the ripper will now download the album art
for the CD and store it in a file named `folder.jpg`.
2021-12-12 22:15:38 -06:00
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
Dustin e8652cc813 Add README 2021-12-12 21:09:57 -06:00
Dustin a29104c8d0 Update poetry.lock 2021-12-12 21:09:28 -06:00
Dustin 6d380c90f1 meta: Update python-libdiscid
Version 1.x doesn't work on Python 3.10.
2021-12-12 21:09:01 -06:00
Dustin 1ad01c9fa3 Update poetry.lock 2021-12-12 19:15:22 -06:00
Dustin 9b63933eb9 cli: Write album to stdout, all else to stderr
To facilitate scripting, all status messages, etc. are now printed to the
standard error stream.  If the standard output stream is not a terminal,
the name of the album to be ripped is printed there, on the assumption that the
calling script is capturing it, e.g. in a variable.
2021-01-24 13:23:34 -06:00
Dustin b0540e494c musicbrainz: Handle missing release date
Some releases in the MusicBrainz database do not have an associated
release date.
2021-01-19 17:51:36 -06:00
Dustin a997be4515 Initial commit
*Rupert* ("Ripper") is a tool to rip CD (and eventually DVD) media
(almost) automatically.  It converts CDDA to WAV using `cdparanoia`,
encodes the output with `flac`, and adds metadata tags from MusicBrainz
using *mutagen*.  The console user interface is provided by *rich*.
2021-01-19 17:48:32 -06:00