expose incremental_skip_later as cli option

Closes #4958
This commit is contained in:
Max Goltzsche 2023-12-04 02:21:10 +01:00
parent a384bee6bf
commit 177f284d40
No known key found for this signature in database
GPG key ID: 364FA5A62B410BA4
3 changed files with 24 additions and 0 deletions

View file

@ -1506,6 +1506,20 @@ import_cmd.parser.add_option(
action="store_false",
help="do not skip already-imported directories",
)
import_cmd.parser.add_option(
"-R",
"--incremental-skip-later",
action="store_true",
dest="incremental_skip_later",
help="do not record skipped files during incremental import",
)
import_cmd.parser.add_option(
"-r",
"--noincremental-skip-later",
action="store_false",
dest="incremental_skip_later",
help="record skipped files during incremental import",
)
import_cmd.parser.add_option(
"--from-scratch",
dest="from_scratch",

View file

@ -146,6 +146,7 @@ New features:
* :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.
* :ref:`import-cmd`: Expose `import.incremental_skip_later` as CLI option.
Bug fixes:

View file

@ -115,6 +115,15 @@ Optional command flags:
time, when no subdirectories will be skipped. So consider enabling the
``incremental`` configuration option.
* If you don't want to record skipped files during an *incremental* import, use
the ``--incremental-skip-later`` flag which corresponds to the
``incremental_skip_later`` configuration option.
Setting the flag prevents beets from persisting skip decisions during a
non-interactive import so that a user can make a decision regarding
previously skipped files during a subsequent interactive import run.
To record skipped files during incremental import explicitly, use the
``--noincremental-skip-later`` option.
* When beets applies metadata to your music, it will retain the value of any
existing tags that weren't overwritten, and import them into the database. You
may prefer to only use existing metadata for finding matches, and to erase it