about summary refs log tree commit diff
path: root/pkgs/tools/audio/beets/replaygain-default-bs1770gain.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/audio/beets/replaygain-default-bs1770gain.patch')
-rw-r--r--pkgs/tools/audio/beets/replaygain-default-bs1770gain.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/audio/beets/replaygain-default-bs1770gain.patch b/pkgs/tools/audio/beets/replaygain-default-bs1770gain.patch
new file mode 100644
index 000000000000..538f9e933039
--- /dev/null
+++ b/pkgs/tools/audio/beets/replaygain-default-bs1770gain.patch
@@ -0,0 +1,17 @@
+diff --git a/beetsplug/replaygain.py b/beetsplug/replaygain.py
+index 40b3a3a..9b54a5a 100644
+--- a/beetsplug/replaygain.py
++++ b/beetsplug/replaygain.py
+@@ -627,11 +627,10 @@ class ReplayGainPlugin(BeetsPlugin):
+         super(ReplayGainPlugin, self).__init__()
+         self.import_stages = [self.imported]
+ 
+-        # default backend is 'command' for backward-compatibility.
+         self.config.add({
+             'overwrite': False,
+             'auto': True,
+-            'backend': u'command',
++            'backend': u'bs1770gain',
+             'targetlevel': 89,
+         })
+