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
parent
a618073203
commit
1309672adc
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue