cc-4105: formatted commits
This commit is contained in:
parent
ce89d53ea0
commit
84e5530b88
|
@ -71,16 +71,17 @@ def get_file_type(file_path):
|
||||||
|
|
||||||
def calculate_replay_gain(file_path):
|
def calculate_replay_gain(file_path):
|
||||||
"""
|
"""
|
||||||
This function accepts files of type mp3/ogg/flac and returns a calculated ReplayGain value in dB.
|
This function accepts files of type mp3/ogg/flac and returns a calculated
|
||||||
If the value cannot be calculated for some reason, then we default to 0 (Unity Gain).
|
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
|
http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_1.0_specification
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
"""
|
"""
|
||||||
Making a duplicate is required because the ReplayGain extraction utilities we use
|
Making a duplicate is required because the ReplayGain extraction
|
||||||
make unwanted modifications to the file.
|
utilities we use make unwanted modifications to the file.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
search = None
|
search = None
|
||||||
|
|
Loading…
Reference in New Issue