mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
68c504fa8f
After trying with a dozen files, it seems the bs1770gain backend is much more reliable than the audiotools backend and especially does a better job (well, compared to audiotools which either does doing nothing at all or throws an exception) when used on alboms that contain different sample rates/sizes. Additionally, we already had a few issues regarding the audiotools backend, even to the extent that @sampsyco almost wanted to drop it upstream (see sampsyco/beets#1342). Also related issues are #10376 and sampsyo/beets#1592. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
18 lines
586 B
Diff
18 lines
586 B
Diff
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,
|
|
})
|
|
|