getID3 icon indicating copy to clipboard operation
getID3 copied to clipboard

Replay gain not working ?

Open TheoD02 opened this issue 2 years ago • 3 comments

Hello just testing lib, working fine for all tag used but im locked with replay_gain_adjustment

I get an exception "track_adjustment" not defined in array, but is it defined. When dumping before the conditional

if (($source_data_array['track_adjustment'] > 51) || ($source_data_array['track_adjustment'] < -51)) {

$source_data_array contains this values :

array:4 [
  "encodingid" => 3
  "data" => 6.0
  "description" => ""
  "language" => "eng"
]

"data" key correspond to the value of track_adjustment, if i change value in track_adjustment "data" key will have the same value. but not "track_adjustment" key.

Is the same case for alum_adjustment, raw and all other keys

TheoD02 avatar Dec 15 '21 21:12 TheoD02

Can you provide a sample file that reproduces this issue? You can post a link here or email to [email protected]

JamesHeinrich avatar Dec 15 '21 22:12 JamesHeinrich

Hey,

Not really related to a file, issue is on multiple file when writing.

TheoD02 avatar Dec 15 '21 23:12 TheoD02

Hello,

Did you have any example to use 'replay_gain_adjustment' ? I maybe make mistake somewhere. After retest, I can tell you if is on my part making a mistake or really from getID3 writing

Thanks

TheoD02 avatar Dec 16 '21 16:12 TheoD02