mirror of
https://github.com/beetbox/beets.git
synced 2026-03-04 04:03:52 +01:00
tiny option-choosing fixes for #518
* 'L' check needs to be lower-case * letter for 'More candidates' is M, not C
This commit is contained in:
parent
4fe524c0ec
commit
5a35d93b22
2 changed files with 4 additions and 4 deletions
|
|
@ -713,7 +713,6 @@ def user_query(session):
|
|||
task = pipeline.multiple(album_tasks)
|
||||
continue
|
||||
|
||||
|
||||
# Check for duplicates if we have a match (or ASIS).
|
||||
if task.choice_flag in (action.ASIS, action.APPLY):
|
||||
ident = task.chosen_ident()
|
||||
|
|
|
|||
|
|
@ -558,7 +558,7 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None,
|
|||
raise importer.ImportAbort()
|
||||
elif sel == 'i':
|
||||
return importer.action.MANUAL_ID
|
||||
elif sel == 'L':
|
||||
elif sel == 'l':
|
||||
return importer.action.ALBUMS
|
||||
else: # Numerical selection.
|
||||
match = candidates[sel - 1]
|
||||
|
|
@ -583,8 +583,9 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None,
|
|||
opts = ('Apply', 'More candidates', 'Skip', 'Use as-is',
|
||||
'Enter search', 'enter Id', 'aBort')
|
||||
else:
|
||||
opts = ('Apply', 'more Candidates', 'Skip', 'Use as-is',
|
||||
'as Tracks', 'as aLbums', 'Enter search', 'enter Id', 'aBort')
|
||||
opts = ('Apply', 'More candidates', 'Skip', 'Use as-is',
|
||||
'as Tracks', 'as aLbums', 'Enter search', 'enter Id',
|
||||
'aBort')
|
||||
default = config['import']['default_action'].as_choice({
|
||||
'apply': 'a',
|
||||
'skip': 's',
|
||||
|
|
|
|||
Loading…
Reference in a new issue