CUE Sheet Reader: Merge metadata the other way

The file metadata should be merged into the CUE Sheet metadata, as we
want the CUE Sheet to take priority, wherever it happens to have fields
set.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-12 07:57:13 -08:00
parent a618073203
commit 1309672adc
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
if([track trackGain]) [cuesheetMetadata setValue:[NSNumber numberWithFloat:[track trackGain]] forKey:@"replayGainTrackGain"];
if([track trackPeak]) [cuesheetMetadata setValue:[NSNumber numberWithFloat:[track trackPeak]] forKey:@"replayGainTrackPeak"];
return [fileMetadata dictionaryByMergingWith:cuesheetMetadata];
return [cuesheetMetadata dictionaryByMergingWith:fileMetadata];
}
}