From 87f3d00ee3686fe43f0d3a931dea6361c71a1461 Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Sun, 14 Feb 2021 21:56:54 +0000 Subject: [PATCH] Add missing information to manpages Also: - Updated description of command 'mblookup' - Misc text changes Signed-off-by: JoeLametta --- man/whipper-cd-rip.rst | 10 +++++++++- man/whipper-mblookup.rst | 14 +++++++------- whipper/command/mblookup.py | 11 ++++++----- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/man/whipper-cd-rip.rst b/man/whipper-cd-rip.rst index c8cd0b1..b09566f 100644 --- a/man/whipper-cd-rip.rst +++ b/man/whipper-cd-rip.rst @@ -7,7 +7,7 @@ Rips a CD --------- :Author: Louis-Philippe Véronneau -:Date: 2020 +:Date: 2021 :Manual section: 1 Synopsis @@ -61,6 +61,14 @@ Options | **--cdr** | whether to continue ripping if the disc is a CD-R +| **-C** | **--cover-art** *file embed complete* +| Fetch cover art and save it as standalone file, embed into FLAC files or +| perform both actions: file, embed, complete option values respectively + +| **-r** | **--max-retries** ** +| Number of rip attempts before giving up if can't rip a track. This +| defaults to 5; 0 means infinity. + Template schemes ================ diff --git a/man/whipper-mblookup.rst b/man/whipper-mblookup.rst index 75edc65..347157a 100644 --- a/man/whipper-mblookup.rst +++ b/man/whipper-mblookup.rst @@ -2,24 +2,24 @@ whipper-mblookup ================ ----------------------------------------------------- -Look up a MusicBrainz disc id and output information ----------------------------------------------------- +------------------------------------------------------------------------- +Look up either a MusicBrainz Disc ID or Release ID and output information +------------------------------------------------------------------------- :Author: Louis-Philippe Véronneau -:Date: 2020 +:Date: 2021 :Manual section: 1 Synopsis ======== -| whipper mblookup ** +| whipper mblookup ** | whipper mblookup **-h** Arguments ========= -| ** MusicBrainz disc id to look up +| ** MusicBrainz Disc ID or Release ID to look up Options ======= @@ -30,7 +30,7 @@ Options Examples ======== -You can lookup a MusicBrainz disc id and output its information this way:: +You can lookup a MusicBrainz Disc ID and output its information this way:: whipper mblookup KnpGsLhvH.lPrNc1PBL21lb9Bg4- diff --git a/whipper/command/mblookup.py b/whipper/command/mblookup.py index 044fab7..967a699 100644 --- a/whipper/command/mblookup.py +++ b/whipper/command/mblookup.py @@ -6,15 +6,16 @@ import re class MBLookup(BaseCommand): summary = "lookup MusicBrainz entry" - description = """Look up a MusicBrainz disc id and output information. + description = """Look up either a MusicBrainz Disc ID or Release ID and output information. -You can get the MusicBrainz disc id with whipper cd info. +You can get the MusicBrainz Disc ID with whipper cd info. -Example disc id: KnpGsLhvH.lPrNc1PBL21lb9Bg4-""" +Example Disc ID: KnpGsLhvH.lPrNc1PBL21lb9Bg4-""" def add_arguments(self): self.parser.add_argument( - 'mbid', action='store', help="MB disc id or release id to look up" + 'mbid', action='store', + help="MusicBrainz Disc ID or Release ID to look up" ) def _printMetadata(self, md): @@ -44,7 +45,7 @@ Example disc id: KnpGsLhvH.lPrNc1PBL21lb9Bg4-""" try: mbid = str(self.options.mbid.strip()) except IndexError: - print('Please specify a MusicBrainz disc id or release id.') + print('Please specify a MusicBrainz Disc ID or Release ID.') return 3 releaseIdMatch = re.match(