diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 865afb55e..d5d0111af 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -570,10 +570,17 @@ def resolve_duplicate(task, config): """ log.warn("This %s is already in the library!" % ("album" if task.is_album else "item")) - sel = ui.input_options( - ('Skip new', 'Keep both', 'Remove old'), - color=config.color - ) + + if config.quiet: + # In quiet mode, don't prompt -- just skip. + log.info('Skipping.') + sel = 's' + else: + sel = ui.input_options( + ('Skip new', 'Keep both', 'Remove old'), + color=config.color + ) + if sel == 's': # Skip new. task.set_choice(importer.action.SKIP)