depot/third_party/nixpkgs/pkgs/tools/audio/beets/replaygain-default-ffmpeg.patch
Default email 646c172193 Project import generated by Copybara.
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
2021-12-21 10:18:32 +08:00

26 lines
880 B
Diff

diff --git i/beetsplug/replaygain.py w/beetsplug/replaygain.py
index b6297d93..5c1cbbc0 100644
--- i/beetsplug/replaygain.py
+++ w/beetsplug/replaygain.py
@@ -139,7 +139,7 @@ class FfmpegBackend(Backend):
def __init__(self, config, log):
super().__init__(config, log)
- self._ffmpeg_path = "ffmpeg"
+ self._ffmpeg_path = "@ffmpeg@/bin/ffmpeg"
# check that ffmpeg is installed
try:
@@ -975,11 +975,10 @@ class ReplayGainPlugin(BeetsPlugin):
def __init__(self):
super().__init__()
- # default backend is 'command' for backward-compatibility.
self.config.add({
'overwrite': False,
'auto': True,
- 'backend': 'command',
+ 'backend': 'ffmpeg',
'threads': cpu_count(),
'parallel_on_import': False,
'per_disc': False,