mirror of
https://github.com/beetbox/beets.git
synced 2026-02-10 17:34:05 +01:00
Prefix media with number of media if >1 (e.g. 2xCD, 3xVinyl...)
Show MBs disambiguation if set.
This commit is contained in:
parent
430b578bd2
commit
9fa3aa7428
1 changed files with 7 additions and 1 deletions
|
|
@ -371,7 +371,13 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None,
|
|||
if match.info.year:
|
||||
disambig.append(unicode(match.info.year))
|
||||
if match.info.media:
|
||||
disambig.append(match.info.media)
|
||||
if match.info.mediums > 1:
|
||||
disambig.append(u'{0}x{1}'.format(
|
||||
match.info.mediums, match.info.media))
|
||||
else:
|
||||
disambig.append(match.info.media)
|
||||
if match.info.albumdisambig:
|
||||
disambig.append(match.info.albumdisambig)
|
||||
if disambig:
|
||||
line += u' [{0}]'.format(u', '.join(disambig))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue