mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
replaygain: apply album gain in album mode
This commit is contained in:
parent
da3eb7af58
commit
2c38c15fb8
1 changed files with 2 additions and 2 deletions
|
|
@ -201,13 +201,13 @@ class ReplayGainPlugin(BeetsPlugin):
|
|||
cmd = [self.command, '-o', '-s', 's']
|
||||
if self.noclip:
|
||||
# Adjust to avoid clipping.
|
||||
cmd = cmd + ['-k']
|
||||
cmd = cmd + ['-k']
|
||||
else:
|
||||
# Disable clipping warning.
|
||||
cmd = cmd + ['-c']
|
||||
if self.apply_gain:
|
||||
# Lossless audio adjustment.
|
||||
cmd = cmd + ['-r']
|
||||
cmd = cmd + ['-a' if album else '-r']
|
||||
cmd = cmd + ['-d', str(self.gain_offset)]
|
||||
cmd = cmd + [syspath(i.path) for i in items]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue