mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Added bell when user interaction is needed
This commit is contained in:
parent
2fbc7f0e70
commit
5128b9567c
1 changed files with 2 additions and 2 deletions
|
|
@ -613,6 +613,8 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None,
|
|||
})
|
||||
if default is None:
|
||||
require = True
|
||||
# Bell ring when interaction with the user is needed.
|
||||
print('\a')
|
||||
sel = ui.input_options((u'Apply', u'More candidates') + choice_opts,
|
||||
require=require, default=default)
|
||||
if sel == u'a':
|
||||
|
|
@ -823,8 +825,6 @@ class TerminalImportSession(importer.ImportSession):
|
|||
Returns a list of `PromptChoice`s.
|
||||
"""
|
||||
# Standard, built-in choices.
|
||||
#Bell ring to alert the user that he has to interfere with the cmd
|
||||
print('\a')
|
||||
choices = [
|
||||
PromptChoice(u's', u'Skip',
|
||||
lambda s, t: importer.action.SKIP),
|
||||
|
|
|
|||
Loading…
Reference in a new issue