mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 20:12:33 +01:00
Remove --replaygain flag when checking bs1770gain availability
bs1770gain exits with error 1 when called without data, interpreted as unavailable
This commit is contained in:
parent
ca3142b1d9
commit
a4a0a4bd28
1 changed files with 1 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ if any(has_program(cmd, ['-v']) for cmd in ['mp3gain', 'aacgain']):
|
|||
else:
|
||||
GAIN_PROG_AVAILABLE = False
|
||||
|
||||
if has_program('bs1770gain', ['--replaygain']):
|
||||
if has_program('bs1770gain'):
|
||||
LOUDNESS_PROG_AVAILABLE = True
|
||||
else:
|
||||
LOUDNESS_PROG_AVAILABLE = False
|
||||
|
|
@ -58,7 +58,6 @@ def reset_replaygain(item):
|
|||
|
||||
|
||||
class ReplayGainCliTestBase(TestHelper):
|
||||
|
||||
def setUp(self):
|
||||
self.setup_beets()
|
||||
self.config['replaygain']['backend'] = self.backend
|
||||
|
|
|
|||
Loading…
Reference in a new issue