diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 56f9ad1f5..f34e5578f 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -468,6 +468,10 @@ def summarize_items(items, singleton): total_duration = sum([item.length for item in items]) total_filesize = sum([item.filesize for item in items]) summary_parts.append(u'{0}kbps'.format(int(average_bitrate / 1000))) + if items[0].format == "FLAC": + sample_bits = u'{}kHz/{} bit'.format( + round(int(items[0].samplerate) / 1000, 1), items[0].bitdepth) + summary_parts.append(sample_bits) summary_parts.append(ui.human_seconds_short(total_duration)) summary_parts.append(ui.human_bytes(total_filesize)) diff --git a/docs/changelog.rst b/docs/changelog.rst index bc03d772e..a9d2ac540 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -147,6 +147,7 @@ New features: be deleted after importing. Thanks to :user:`logan-arens`. :bug:`2947` +* Added flac-specific reporting of samplerate and bitrate when importing duplicates. Fixes: