Removed all ReplayGain and Silan stuff from pypo, plus a bugfix

* Ripped out all the ReplayGain and Silan analysis from pypo, since
  it's now implemented in airtime_analyzer. This fixes a bunch of
  race conditions.
* Also renamed the replaygain field to replay_gain in airtime_analyzer
  to match Airtime.
This commit is contained in:
Albert Santoni 2014-12-11 14:26:05 -05:00
parent 4dd2768755
commit 3b1c776879
8 changed files with 3 additions and 351 deletions

View file

@ -13,8 +13,8 @@ def check_default_metadata(metadata):
'''
tolerance = 0.30
expected_replaygain = 5.0
print metadata['replaygain']
assert abs(metadata['replaygain'] - expected_replaygain) < tolerance
print metadata['replay_gain']
assert abs(metadata['replay_gain'] - expected_replaygain) < tolerance
def test_missing_replaygain():
old_rg = ReplayGainAnalyzer.REPLAYGAIN_EXECUTABLE