linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / tools / audio / beets / replaygain-default-ffmpeg.patch
blob0ceba3c094423d1a944b9342223c44dcb5dc682a
1 diff --git i/beetsplug/replaygain.py w/beetsplug/replaygain.py
2 index 9d6fa23c..c5800039 100644
3 --- i/beetsplug/replaygain.py
4 +++ w/beetsplug/replaygain.py
5 @@ -391,7 +391,7 @@ class FfmpegBackend(Backend):
7 def __init__(self, config, log):
8 super(FfmpegBackend, self).__init__(config, log)
9 - self._ffmpeg_path = "ffmpeg"
10 + self._ffmpeg_path = "@ffmpeg@/bin/ffmpeg"
12 # check that ffmpeg is installed
13 try:
14 @@ -1228,11 +1228,10 @@ class ReplayGainPlugin(BeetsPlugin):
15 def __init__(self):
16 super(ReplayGainPlugin, self).__init__()
18 - # default backend is 'command' for backward-compatibility.
19 self.config.add({
20 'overwrite': False,
21 'auto': True,
22 - 'backend': u'command',
23 + 'backend': u'ffmpeg',
24 'threads': cpu_count(),
25 'parallel_on_import': False,
26 'per_disc': False,