changelog and style fix for #81

This commit is contained in:
Adrian Sampson 2013-01-31 16:25:02 -08:00
parent 20dd71fcfd
commit 8ae40e9945
2 changed files with 8 additions and 6 deletions

View file

@ -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)

View file

@ -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)