cc-4105: added replaygain and a whole ton of formatting

This commit is contained in:
Rudi Grinberg 2012-08-08 11:04:56 -04:00
parent a8b9b300e5
commit 6f82fa103a
2 changed files with 22 additions and 11 deletions

View file

@ -45,9 +45,10 @@ def duplicate_file(file_path):
return fdst.name
def calculate_replay_gain(file_path):
""" This function accepts files of type mp3/ogg/flac and returns a
calculated ReplayGain value in dB. If the value cannot be calculated for
some reason, then we default to 0 (Unity Gain).
"""
This function accepts files of type mp3/ogg/flac and returns a calculated
ReplayGain value in dB. If the value cannot be calculated for some reason,
then we default to 0 (Unity Gain).
http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_1.0_specification
"""