diff --git a/beets/autotag/match.py b/beets/autotag/match.py index 4b80a4111..22c2c5621 100644 --- a/beets/autotag/match.py +++ b/beets/autotag/match.py @@ -332,6 +332,11 @@ def recommendation(results): else: min_dist = results[0].distance if min_dist < config['match']['strong_rec_thresh'].as_number(): + # Reduce to medium rec if partial releases are not allowed. + if isinstance(results[0], hooks.AlbumMatch) and \ + config['import']['confirm_partial'] and \ + (results[0].extra_items or results[0].extra_tracks): + return RECOMMEND_MEDIUM # Strong recommendation level. rec = RECOMMEND_STRONG elif len(results) == 1: diff --git a/beets/config_default.yaml b/beets/config_default.yaml index c91a8ce95..56f1a0055 100644 --- a/beets/config_default.yaml +++ b/beets/config_default.yaml @@ -14,6 +14,7 @@ import: autotag: yes quiet: no singletons: no + confirm_partial: no ignore: [".*", "*~"] replace: