Replaygain: added better logging
This commit is contained in:
parent
77e1ecce7d
commit
69ac52973d
python_apps/media-monitor2/media/update
|
@ -121,6 +121,8 @@ def calculate_replay_gain(file_path):
|
||||||
matches = search.groups()
|
matches = search.groups()
|
||||||
if len(matches) == 1:
|
if len(matches) == 1:
|
||||||
replay_gain = matches[0]
|
replay_gain = matches[0]
|
||||||
|
else:
|
||||||
|
logger.warn("Received more than 1 match in: '%s'" % str(matches))
|
||||||
|
|
||||||
return replay_gain
|
return replay_gain
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue