Skip to content

Commit 7c4dadc

Browse files
feat: Add ReleaseCountry to ILST_MAP
1 parent c459f2b commit 7c4dadc

File tree

1 file changed

+78
-77
lines changed

1 file changed

+78
-77
lines changed

lofty/src/tag/item.rs

Lines changed: 78 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -237,83 +237,84 @@ gen_map!(
237237
gen_map!(
238238
ILST_MAP;
239239

240-
"\u{a9}alb" => AlbumTitle,
241-
"----:com.apple.iTunes:DISCSUBTITLE" => SetSubtitle,
242-
"tvsh" => ShowName,
243-
"\u{a9}grp" => ContentGroup,
244-
"\u{a9}nam" => TrackTitle,
245-
"----:com.apple.iTunes:SUBTITLE" => TrackSubtitle,
246-
"\u{a9}wrk" => Work,
247-
"\u{a9}mvn" => Movement,
248-
"\u{a9}mvi" => MovementNumber,
249-
"\u{a9}mvc" => MovementTotal,
250-
"soal" => AlbumTitleSortOrder,
251-
"soaa" => AlbumArtistSortOrder,
252-
"sonm" => TrackTitleSortOrder,
253-
"soar" => TrackArtistSortOrder,
254-
"sosn" => ShowNameSortOrder,
255-
"soco" => ComposerSortOrder,
256-
"aART" => AlbumArtist,
257-
"----:com.apple.iTunes:ALBUMARTISTS" => AlbumArtists,
258-
"\u{a9}ART" => TrackArtist,
259-
"----:com.apple.iTunes:ARTISTS" => TrackArtists,
260-
"\u{a9}wrt" => Composer,
261-
"\u{a9}dir" => Director,
262-
"----:com.apple.iTunes:CONDUCTOR" => Conductor,
263-
"----:com.apple.iTunes:ENGINEER" => Engineer,
264-
"----:com.apple.iTunes:LYRICIST" => Lyricist,
265-
"----:com.apple.iTunes:DJMIXER" => MixDj,
266-
"----:com.apple.iTunes:MIXER" => MixEngineer,
267-
"----:com.apple.iTunes:PRODUCER" => Producer,
268-
"----:com.apple.iTunes:LABEL" => Label,
269-
"----:com.apple.iTunes:REMIXER" => Remixer,
270-
"disk" => DiscNumber,
271-
"disk" => DiscTotal,
272-
"trkn" => TrackNumber,
273-
"trkn" => TrackTotal,
274-
"rate" => Popularimeter,
275-
"rtng" => ParentalAdvisory,
276-
"\u{a9}day" => RecordingDate,
277-
"----:com.apple.iTunes:ORIGINALDATE" => OriginalReleaseDate, // TagLib v2.0
278-
"----:com.apple.iTunes:RELEASEDATE" => ReleaseDate,
279-
"----:com.apple.iTunes:ISRC" => Isrc,
280-
"----:com.apple.iTunes:BARCODE" => Barcode,
281-
"----:com.apple.iTunes:CATALOGNUMBER" => CatalogNumber,
282-
"cpil" => FlagCompilation,
283-
"pcst" => FlagPodcast,
284-
"----:com.apple.iTunes:MEDIA" => OriginalMediaType,
285-
"\u{a9}enc" => EncodedBy,
286-
"\u{a9}too" => EncoderSoftware,
287-
"\u{a9}gen" => Genre,
288-
"----:com.apple.iTunes:COLOR" => Color,
289-
"----:com.apple.iTunes:MOOD" => Mood,
290-
"tmpo" => IntegerBpm,
291-
"----:com.apple.iTunes:BPM" => Bpm,
292-
"----:com.apple.iTunes:initialkey" => InitialKey,
293-
"----:com.apple.iTunes:replaygain_album_gain" => ReplayGainAlbumGain,
294-
"----:com.apple.iTunes:replaygain_album_peak" => ReplayGainAlbumPeak,
295-
"----:com.apple.iTunes:replaygain_track_gain" => ReplayGainTrackGain,
296-
"----:com.apple.iTunes:replaygain_track_peak" => ReplayGainTrackPeak,
297-
"cprt" => CopyrightMessage,
298-
"----:com.apple.iTunes:LICENSE" => License,
299-
"ldes" => PodcastDescription,
300-
"catg" => PodcastSeriesCategory,
301-
"purl" => PodcastUrl,
302-
"egid" => PodcastGlobalUniqueId,
303-
"keyw" => PodcastKeywords,
304-
"\u{a9}cmt" => Comment,
305-
"desc" => Description,
306-
"----:com.apple.iTunes:LANGUAGE" => Language,
307-
"----:com.apple.iTunes:SCRIPT" => Script,
308-
"\u{a9}lyr" => Lyrics,
309-
"xid " => AppleXid,
310-
"----:com.apple.iTunes:MusicBrainz Track Id" => MusicBrainzRecordingId,
311-
"----:com.apple.iTunes:MusicBrainz Release Track Id" => MusicBrainzTrackId,
312-
"----:com.apple.iTunes:MusicBrainz Album Id" => MusicBrainzReleaseId,
313-
"----:com.apple.iTunes:MusicBrainz Release Group Id" => MusicBrainzReleaseGroupId,
314-
"----:com.apple.iTunes:MusicBrainz Artist Id" => MusicBrainzArtistId,
315-
"----:com.apple.iTunes:MusicBrainz Album Artist Id" => MusicBrainzReleaseArtistId,
316-
"----:com.apple.iTunes:MusicBrainz Work Id" => MusicBrainzWorkId
240+
"\u{a9}alb" => AlbumTitle,
241+
"----:com.apple.iTunes:DISCSUBTITLE" => SetSubtitle,
242+
"tvsh" => ShowName,
243+
"\u{a9}grp" => ContentGroup,
244+
"\u{a9}nam" => TrackTitle,
245+
"----:com.apple.iTunes:SUBTITLE" => TrackSubtitle,
246+
"\u{a9}wrk" => Work,
247+
"\u{a9}mvn" => Movement,
248+
"\u{a9}mvi" => MovementNumber,
249+
"\u{a9}mvc" => MovementTotal,
250+
"soal" => AlbumTitleSortOrder,
251+
"soaa" => AlbumArtistSortOrder,
252+
"sonm" => TrackTitleSortOrder,
253+
"soar" => TrackArtistSortOrder,
254+
"sosn" => ShowNameSortOrder,
255+
"soco" => ComposerSortOrder,
256+
"aART" => AlbumArtist,
257+
"----:com.apple.iTunes:ALBUMARTISTS" => AlbumArtists,
258+
"\u{a9}ART" => TrackArtist,
259+
"----:com.apple.iTunes:ARTISTS" => TrackArtists,
260+
"\u{a9}wrt" => Composer,
261+
"\u{a9}dir" => Director,
262+
"----:com.apple.iTunes:CONDUCTOR" => Conductor,
263+
"----:com.apple.iTunes:ENGINEER" => Engineer,
264+
"----:com.apple.iTunes:LYRICIST" => Lyricist,
265+
"----:com.apple.iTunes:DJMIXER" => MixDj,
266+
"----:com.apple.iTunes:MIXER" => MixEngineer,
267+
"----:com.apple.iTunes:PRODUCER" => Producer,
268+
"----:com.apple.iTunes:LABEL" => Label,
269+
"----:com.apple.iTunes:REMIXER" => Remixer,
270+
"disk" => DiscNumber,
271+
"disk" => DiscTotal,
272+
"trkn" => TrackNumber,
273+
"trkn" => TrackTotal,
274+
"rate" => Popularimeter,
275+
"rtng" => ParentalAdvisory,
276+
"\u{a9}day" => RecordingDate,
277+
"----:com.apple.iTunes:ORIGINALDATE" => OriginalReleaseDate, // TagLib v2.0
278+
"----:com.apple.iTunes:RELEASEDATE" => ReleaseDate,
279+
"----:com.apple.iTunes:ISRC" => Isrc,
280+
"----:com.apple.iTunes:BARCODE" => Barcode,
281+
"----:com.apple.iTunes:CATALOGNUMBER" => CatalogNumber,
282+
"cpil" => FlagCompilation,
283+
"pcst" => FlagPodcast,
284+
"----:com.apple.iTunes:MEDIA" => OriginalMediaType,
285+
"\u{a9}enc" => EncodedBy,
286+
"\u{a9}too" => EncoderSoftware,
287+
"\u{a9}gen" => Genre,
288+
"----:com.apple.iTunes:COLOR" => Color,
289+
"----:com.apple.iTunes:MOOD" => Mood,
290+
"tmpo" => IntegerBpm,
291+
"----:com.apple.iTunes:BPM" => Bpm,
292+
"----:com.apple.iTunes:initialkey" => InitialKey,
293+
"----:com.apple.iTunes:replaygain_album_gain" => ReplayGainAlbumGain,
294+
"----:com.apple.iTunes:replaygain_album_peak" => ReplayGainAlbumPeak,
295+
"----:com.apple.iTunes:replaygain_track_gain" => ReplayGainTrackGain,
296+
"----:com.apple.iTunes:replaygain_track_peak" => ReplayGainTrackPeak,
297+
"cprt" => CopyrightMessage,
298+
"----:com.apple.iTunes:LICENSE" => License,
299+
"ldes" => PodcastDescription,
300+
"catg" => PodcastSeriesCategory,
301+
"purl" => PodcastUrl,
302+
"egid" => PodcastGlobalUniqueId,
303+
"keyw" => PodcastKeywords,
304+
"\u{a9}cmt" => Comment,
305+
"desc" => Description,
306+
"----:com.apple.iTunes:LANGUAGE" => Language,
307+
"----:com.apple.iTunes:SCRIPT" => Script,
308+
"\u{a9}lyr" => Lyrics,
309+
"xid " => AppleXid,
310+
"----:com.apple.iTunes:MusicBrainz Track Id" => MusicBrainzRecordingId,
311+
"----:com.apple.iTunes:MusicBrainz Release Track Id" => MusicBrainzTrackId,
312+
"----:com.apple.iTunes:MusicBrainz Album Id" => MusicBrainzReleaseId,
313+
"----:com.apple.iTunes:MusicBrainz Release Group Id" => MusicBrainzReleaseGroupId,
314+
"----:com.apple.iTunes:MusicBrainz Artist Id" => MusicBrainzArtistId,
315+
"----:com.apple.iTunes:MusicBrainz Album Artist Id" => MusicBrainzReleaseArtistId,
316+
"----:com.apple.iTunes:MusicBrainz Work Id" => MusicBrainzWorkId,
317+
"----:com.apple.iTunes:MusicBrainz Album Release Country" => ReleaseCountry
317318
);
318319

319320
gen_map!(

0 commit comments

Comments
 (0)