added fatalreplaygainerror

This commit is contained in:
jean-marie winters 2015-03-03 11:23:45 +01:00
parent 80c49ab360
commit a3e32fd410

View file

@ -109,7 +109,9 @@ class Bs1770gainBackend(Backend):
call([cmd, self.method])
self.command = cmd
except OSError:
pass
raise FatalReplayGainError(
'Is bs1770gain installed? Is your method in conifg correct?'
)
if not self.command:
raise FatalReplayGainError(
'no replaygain command found: install bs1770gain'