diff --git a/beetsplug/replaygain.py b/beetsplug/replaygain.py index 75f1714aa..ac45aa4f8 100644 --- a/beetsplug/replaygain.py +++ b/beetsplug/replaygain.py @@ -183,7 +183,7 @@ class Bs1770gainBackend(Backend): albumgaintot += returnchunk[-1].gain albumpeaktot = max(albumpeaktot, returnchunk[-1].peak) returnchunks = returnchunks + returnchunk[0:-1] - returnchunks.append(Gain(albumgaintot / i, albumpeaktot / i)) + returnchunks.append(Gain(albumgaintot / i, albumpeaktot)) return returnchunks else: return self.compute_chunk_gain(items, is_album)