desbma / r128gain

Fast audio loudness scanner & tagger (ReplayGain v2 / R128)
GNU Lesser General Public License v2.1
172 stars 9 forks source link

tta (TrueAudio) files support #15

Closed sss123next closed 5 years ago

sss123next commented 5 years ago
diff --git a/r128gain/__init__.py b/r128gain/__init__.py
index 9bd0a7e..5399e06 100755
--- a/r128gain/__init__.py
+++ b/r128gain/__init__.py
@@ -28,7 +28,7 @@ import r128gain.tqdm_logging as tqdm_logging
 import r128gain.opusgain as opusgain

-AUDIO_EXTENSIONS = frozenset(("flac", "ogg", "opus", "m4a", "mp3", "mpc", "wv"))
+AUDIO_EXTENSIONS = frozenset(("flac", "ogg", "opus", "m4a", "mp3", "mpc", "tta", "wv"))
 RG2_REF_R128_LOUDNESS_DBFS = -18
 OPUS_REF_R128_LOUDNESS_DBFS = -23
 ALBUM_GAIN_KEY = 0