diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 7eb80279b..4ec2dcca9 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -365,15 +365,15 @@ def choose_candidate(candidates, singleton, rec, cur_artist=None, match.info.album) # Label, year and media disambiguation, if available. - info = [] + disambig = [] if match.info.label: - info.append(match.info.label) + disambig.append(match.info.label) if match.info.year: - info.append(unicode(match.info.year)) + disambig.append(unicode(match.info.year)) if match.info.media: - info.append(match.info.media) - if len(info) > 0: - line += u' [%s]' % u', '.join(info) + disambig.append(match.info.media) + if disambig: + line += u' [{0}]'.format(u', '.join(disambig)) line += ' (%s)' % dist_string(match.distance) diff --git a/docs/changelog.rst b/docs/changelog.rst index 5565eefc3..07201033f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -30,6 +30,8 @@ Other new stuff: bad: "low" or "none" recommendations or when choosing a candidate other than the first. +* Album listings in the importer UI now show the release medium (CD, LP, + etc.). Thanks to Peter Schnebel. * Fix an error when migrating the ``.beetsstate`` file on Windows. 1.1b1 (January 29, 2013)