Merge pull request #5026 from mgoltzsche/expose-quiet-fallback-opt

expose import.quiet_fallback as cli option
This commit is contained in:
Serene 2023-12-05 09:39:40 +10:00 committed by GitHub
commit a384bee6bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View file

@ -1460,6 +1460,12 @@ import_cmd.parser.add_option(
dest="quiet",
help="never prompt for input: skip albums instead",
)
import_cmd.parser.add_option(
"--quiet-fallback",
type="string",
dest="quiet_fallback",
help="decision in quiet mode when no strong match: skip or asis",
)
import_cmd.parser.add_option(
"-l",
"--log",

View file

@ -145,6 +145,7 @@ New features:
plugin which allows to replace fields based on a given library query.
* :doc:`/plugins/lyrics`: Add LRCLIB as a new lyrics provider and a new
`synced` option to prefer synced lyrics over plain lyrics.
* :ref:`import-cmd`: Expose import.quiet_fallback as CLI option.
Bug fixes:

View file

@ -93,8 +93,10 @@ Optional command flags:
* Relatedly, the ``-q`` (quiet) option can help with large imports by
autotagging without ever bothering to ask for user input. Whenever the
normal autotagger mode would ask for confirmation, the quiet mode
pessimistically skips the album. The quiet mode also disables the tagger's
ability to resume interrupted imports.
performs a fallback action that can be configured using the
``quiet_fallback`` configuration or ``--quiet-fallback`` CLI option.
By default it pessimistically ``skip``s the file.
Alternatively, it can be used as is, by configuring ``asis``.
* Speaking of resuming interrupted imports, the tagger will prompt you if it
seems like the last import of the directory was interrupted (by you or by