mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 01:25:47 +01:00
replaygain: fix write/force flags on import
This restores old behaviour.
This commit is contained in:
parent
c4347960ea
commit
d3ec2106cd
1 changed files with 2 additions and 10 deletions
|
|
@ -1321,17 +1321,9 @@ class ReplayGainPlugin(BeetsPlugin):
|
|||
"""
|
||||
if self.config['auto']:
|
||||
if task.is_album:
|
||||
self.handle_album(
|
||||
task.album,
|
||||
self.config['auto'].get(bool),
|
||||
self.config['overwrite'].get(bool)
|
||||
)
|
||||
self.handle_album(task.album, False)
|
||||
else:
|
||||
self.handle_track(
|
||||
task.item,
|
||||
self.config['auto'].get(bool),
|
||||
self.config['overwrite'].get(bool)
|
||||
)
|
||||
self.handle_track(task.item, False)
|
||||
|
||||
def commands(self):
|
||||
"""Return the "replaygain" ui subcommand.
|
||||
|
|
|
|||
Loading…
Reference in a new issue