mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
Merge pull request #2782 from sekjun9878/patch-3
New importer option incremental_skip_later, fixes #2773
This commit is contained in:
commit
731d80d0ec
4 changed files with 17 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import:
|
|||
delete: no
|
||||
resume: ask
|
||||
incremental: no
|
||||
incremental_skip_later: no
|
||||
from_scratch: no
|
||||
quiet_fallback: skip
|
||||
none_rec_action: ask
|
||||
|
|
|
|||
|
|
@ -577,7 +577,8 @@ class ImportTask(BaseImportTask):
|
|||
# Update progress.
|
||||
if session.want_resume:
|
||||
self.save_progress()
|
||||
if session.config['incremental']:
|
||||
if (session.config['incremental'] and
|
||||
not session.config['incremental_skip_later']):
|
||||
self.save_history()
|
||||
|
||||
self.cleanup(copy=session.config['copy'],
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ New features:
|
|||
|
||||
* :doc:`/plugins/replaygain`: add ``--force``, ``--write`` and ``--nowrite``
|
||||
options to ``beet replaygain``. :bug:`2778`
|
||||
* A new importer configuration ``incremental_skip_later`` allows you to avoid
|
||||
recording skipped directories to the incremental list, so you can revisit them
|
||||
later. Thanks to :user:`sekjun9878`.
|
||||
:bug:`2773`
|
||||
|
||||
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -475,6 +475,16 @@ Either ``yes`` or ``no``, controlling whether imported directories are
|
|||
recorded and whether these recorded directories are skipped. This
|
||||
corresponds to the ``-i`` flag to ``beet import``.
|
||||
|
||||
.. _incremental_skip_later:
|
||||
|
||||
incremental_skip_later
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Either ``yes`` or ``no``, controlling whether skipped directories are
|
||||
recorded in the incremental list. Set this option to ``yes`` if you would
|
||||
like to revisit skipped directories later whilst using incremental
|
||||
mode. Defaults to ``no``.
|
||||
|
||||
.. _from_scratch:
|
||||
|
||||
from_scratch
|
||||
|
|
|
|||
Loading…
Reference in a new issue