From 8dcd50b18f8106708e071a498b5ed602c281e66e Mon Sep 17 00:00:00 2001 From: pszxzsd Date: Wed, 1 Jun 2016 20:00:08 +0200 Subject: [PATCH 1/2] make bs1770gain calculate sample peak instead of true peak --- beetsplug/replaygain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/replaygain.py b/beetsplug/replaygain.py index 7bb2aa39a..2e215938d 100644 --- a/beetsplug/replaygain.py +++ b/beetsplug/replaygain.py @@ -195,7 +195,7 @@ class Bs1770gainBackend(Backend): # Construct shell command. cmd = [self.command] cmd = cmd + [self.method] - cmd = cmd + [b'-it'] + cmd = cmd + [b'-p'] # Workaround for Windows: the underlying tool fails on paths # with the \\?\ prefix, so we don't use it here. This From 7744c6bd90099013d36bd3efdd596a3529d7cd70 Mon Sep 17 00:00:00 2001 From: pszxzsd Date: Thu, 2 Jun 2016 11:03:59 +0200 Subject: [PATCH 2/2] add changelog entry for bs1770gain peak fix --- docs/changelog.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index dd4424332..6c7c04496 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -11,6 +11,12 @@ Some fixes for Windows: * Queries are now detected as paths when they contain backslashes (in addition to forward slashes). This only applies on Windows. +Fixes: + +* :doc:`/plugins/replaygain`: The ``bs1770gain`` backend now correctly + calculates sample peak instead of true peak. This comes with a major + speed increase. :bug:`2031` + 1.3.18 (May 31, 2016) ---------------------