Skip to content

Commit b6d9dd6

Browse files
UnknownSuperficialNightSerial-ATA
authored andcommitted
feat: Add ReleaseCountry to ID3V2_MAP
1 parent 34d85ec commit b6d9dd6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lofty/src/id3/v2/tag.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,7 @@ impl MergeTag for SplitTagRemainder {
14201420
ItemKey::MusicBrainzArtistId,
14211421
ItemKey::MusicBrainzReleaseArtistId,
14221422
ItemKey::MusicBrainzWorkId,
1423+
ItemKey::ReleaseCountry,
14231424
] {
14241425
let frame_id = item_key.map_key(TagType::Id3v2).expect("valid frame id");
14251426
if let Some(text) = join_text_items(&mut tag, [item_key]) {

lofty/src/tag/item.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ gen_map!(
245245
"MusicBrainz Release Group Id" => MusicBrainzReleaseGroupId,
246246
"MusicBrainz Artist Id" => MusicBrainzArtistId,
247247
"MusicBrainz Album Artist Id" => MusicBrainzReleaseArtistId,
248-
"MusicBrainz Work Id" => MusicBrainzWorkId
248+
"MusicBrainz Work Id" => MusicBrainzWorkId,
249+
"MusicBrainz Album Release Country" => ReleaseCountry
249250
);
250251

251252
gen_map!(

0 commit comments

Comments
 (0)