CC-4984: Exception for replaygain

-fixed
This commit is contained in:
Martin Konecny 2013-02-28 18:26:15 -05:00
parent 5ae4ed67a5
commit ae503121d8
2 changed files with 5 additions and 0 deletions

View file

@ -55,6 +55,7 @@ class ReplayGainUpdater(Thread):
for f in files:
full_path = os.path.join(dir_path, f['fp'])
processed_data.append((f['id'], replaygain.calculate_replay_gain(full_path)))
total += 1
try:
self.api_client.update_replay_gain_values(processed_data)