fix(19-01): add album_artist TPE2 mapping to applyTextChanges
- Map FieldAlbumArtist to TPE2 frame via CommonID - Follows same pattern as FieldComposer → TCOM - Fixes latent gap in MP3 writing, enables WAV reuse
This commit is contained in:
@@ -82,6 +82,12 @@ func applyTextChanges(tag *id3v2.Tag, changes TagChanges) {
|
||||
tag.DeleteFrames("TCOM")
|
||||
tag.AddTextFrame("TCOM", id3v2.EncodingUTF8, v)
|
||||
}
|
||||
|
||||
if v, ok := changes[FieldAlbumArtist].(string); ok {
|
||||
tpe2ID := tag.CommonID("Band/Orchestra/Accompaniment")
|
||||
tag.DeleteFrames(tpe2ID)
|
||||
tag.AddTextFrame(tpe2ID, id3v2.EncodingUTF8, v)
|
||||
}
|
||||
}
|
||||
|
||||
// applyCoverArtChanges handles the FieldCoverArt entry in the diff map.
|
||||
|
||||
Reference in New Issue
Block a user