Moonbase59 / loudgain

ReplayGain 2.0 loudness normalizer based on the EBU R128/ITU BS.1770 standard (-18 LUFS, FLAC, Ogg, MP2, MP3, MP4, M4A, AAC, ALAC, Opus, ASF, WMA, WAV, AIFF, WavPack, APE)
Other
182 stars 23 forks source link

m4a: tags inside brackets? #27

Open thenktor opened 4 years ago

thenktor commented 4 years ago

Hi, some of my m4a files show replaygain tags with brackets, e.g. (see REPLAYGAIN_TRACK_GAIN):

REPLAYGAIN_ALBUM_GAIN: -8.94 dB
REPLAYGAIN_ALBUM_MINMAX: 95,180
REPLAYGAIN_ALBUM_PEAK: 1.110841
REPLAYGAIN_ALBUM_RANGE: 6.11 dB
REPLAYGAIN_REFERENCE_LOUDNESS: -18.00 LUFS
REPLAYGAIN_TRACK_GAIN: [ -8.60 dB, -8.38 ]
REPLAYGAIN_TRACK_MINMAX: 101,177
REPLAYGAIN_TRACK_PEAK: 1.064938
REPLAYGAIN_TRACK_RANGE: 9.21 dB

The tag info is from Logitech Media Server, which in turn does not recognize the REPLAYGAIN_TRACK_GAIN value as valid.

Another track from the same album shows valid tags:

REPLAYGAIN_ALBUM_GAIN: -8.94 dB
REPLAYGAIN_ALBUM_MINMAX: 95,180
REPLAYGAIN_ALBUM_PEAK: 1.110841
REPLAYGAIN_ALBUM_RANGE: 6.11 dB
REPLAYGAIN_REFERENCE_LOUDNESS: -18.00 LUFS
REPLAYGAIN_TRACK_GAIN: -9.92 dB
REPLAYGAIN_TRACK_MINMAX: 101,179
REPLAYGAIN_TRACK_PEAK: 1.110841
REPLAYGAIN_TRACK_RANGE: 4.03 

Is this a bug or am I doing something wrong?