mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 23:24:35 +00:00
f2364772b8
Using commands such as mp3gain and aacgain is only the default for backwards-compatible reasons. However, on Nix(OS), we would have to either patch those tools into beets or rely on an impurity, so let's depend on audiotools and also default to that backend. Of course, there is also a GStreamer backend, but it comes with a hell of additional dependencies (which not only cover audio files), which is why I decided against defaulting to GStreamer and package audiotools instead (in eecd932). 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'audiotools',
|
|
'targetlevel': 89,
|
|
})
|
|
|