length differences now shown as "X vs. Y"

Previously, they would be shown as "X -> Y", which made multiple users think
that beets was doing something to change the length of the track.
This commit is contained in:
Adrian Sampson 2012-05-30 16:44:20 -07:00
parent e00f15175a
commit bfa3c5c806
2 changed files with 4 additions and 1 deletions

View file

@ -249,7 +249,7 @@ def show_change(cur_artist, cur_album, items, info, dist, color=True,
if item.length and track_info.length and \
abs(item.length - track_info.length) > 2.0:
display = True
line += u' (%s -> %s)' % (cur_length, new_length)
line += u' (%s vs. %s)' % (cur_length, new_length)
if display:
print_(line)
for i, track_info in missing_tracks:

View file

@ -31,6 +31,9 @@ Changelog
the next import, the (external) files would be moved instead of copied.
* Artist sort names are now populated correctly for multi-artist tracks and
releases. (Previously, they only reflected the first artist.)
* When previewing changes during import, differences in track duration are now
shown as "2:50 vs. 3:10" rather than separated with ``->`` like track numbers.
This should clarify that beets isn't doing anything to modify lengths.
* Fix ID3 tag name for the catalog number field.
* :doc:`/plugins/chroma`: Fix occasional crash at end of fingerprint submission
and give more context to "failed fingerprint generation" errors.