mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 06:02:32 +00:00
Fix some ItemKey
macro formatting
This commit is contained in:
parent
93a85b39d9
commit
45182b6e3d
1 changed files with 137 additions and 137 deletions
274
src/tag/item.rs
274
src/tag/item.rs
|
@ -126,157 +126,157 @@ gen_map! (
|
|||
"TALB" => AlbumTitle,
|
||||
"TSST" => SetSubtitle,
|
||||
"TIT1" | "GRP1" => ContentGroup,
|
||||
"TIT2" => TrackTitle,
|
||||
"TIT3" => TrackSubtitle,
|
||||
"TOAL" => OriginalAlbumTitle,
|
||||
"TOPE" => OriginalArtist,
|
||||
"TOLY" => OriginalLyricist,
|
||||
"TSOA" => AlbumTitleSortOrder,
|
||||
"TSO2" => AlbumArtistSortOrder,
|
||||
"TSOT" => TrackTitleSortOrder,
|
||||
"TSOP" => TrackArtistSortOrder,
|
||||
"TSOC" => ComposerSortOrder,
|
||||
"TPE2" => AlbumArtist,
|
||||
"TPE1" => TrackArtist,
|
||||
"TEXT" => Writer,
|
||||
"TCOM" => Composer,
|
||||
"TPE3" => Conductor,
|
||||
"TIPL" => InvolvedPeople,
|
||||
"TEXT" => Lyricist,
|
||||
"TMCL" => MusicianCredits,
|
||||
"IPRO" => Producer,
|
||||
"TPUB" => Publisher,
|
||||
"TPUB" => Label,
|
||||
"TRSN" => InternetRadioStationName,
|
||||
"TRSO" => InternetRadioStationOwner,
|
||||
"TPE4" => Remixer,
|
||||
"TPOS" => DiscNumber,
|
||||
"TPOS" => DiscTotal,
|
||||
"TRCK" => TrackNumber,
|
||||
"TRCK" => TrackTotal,
|
||||
"POPM" => Popularimeter,
|
||||
"TDRC" => RecordingDate,
|
||||
"TDOR" => OriginalReleaseDate,
|
||||
"TSRC" => ISRC,
|
||||
"MVNM" => Movement,
|
||||
"MVIN" => MovementIndex,
|
||||
"TCMP" => FlagCompilation,
|
||||
"PCST" => FlagPodcast,
|
||||
"TFLT" => FileType,
|
||||
"TOWN" => FileOwner,
|
||||
"TDTG" => TaggingTime,
|
||||
"TLEN" => Length,
|
||||
"TOFN" => OriginalFileName,
|
||||
"TMED" => OriginalMediaType,
|
||||
"TENC" => EncodedBy,
|
||||
"TSSE" => EncoderSoftware,
|
||||
"TSSE" => EncoderSettings,
|
||||
"TDEN" => EncodingTime,
|
||||
"WOAF" => AudioFileURL,
|
||||
"WOAS" => AudioSourceURL,
|
||||
"WCOM" => CommercialInformationURL,
|
||||
"WCOP" => CopyrightURL,
|
||||
"WOAR" => TrackArtistURL,
|
||||
"WORS" => RadioStationURL,
|
||||
"WPAY" => PaymentURL,
|
||||
"WPUB" => PublisherURL,
|
||||
"TCON" => Genre,
|
||||
"TLEY" => InitialKey,
|
||||
"TMOO" => Mood,
|
||||
"TBPM" => BPM,
|
||||
"TCOP" => CopyrightMessage,
|
||||
"TDES" => PodcastDescription,
|
||||
"TCAT" => PodcastSeriesCategory,
|
||||
"WFED" => PodcastURL,
|
||||
"TDRL" => PodcastReleaseDate,
|
||||
"TGID" => PodcastGlobalUniqueID,
|
||||
"TKWD" => PodcastKeywords,
|
||||
"COMM" => Comment,
|
||||
"TLAN" => Language,
|
||||
"USLT" => Lyrics
|
||||
"TIT2" => TrackTitle,
|
||||
"TIT3" => TrackSubtitle,
|
||||
"TOAL" => OriginalAlbumTitle,
|
||||
"TOPE" => OriginalArtist,
|
||||
"TOLY" => OriginalLyricist,
|
||||
"TSOA" => AlbumTitleSortOrder,
|
||||
"TSO2" => AlbumArtistSortOrder,
|
||||
"TSOT" => TrackTitleSortOrder,
|
||||
"TSOP" => TrackArtistSortOrder,
|
||||
"TSOC" => ComposerSortOrder,
|
||||
"TPE2" => AlbumArtist,
|
||||
"TPE1" => TrackArtist,
|
||||
"TEXT" => Writer,
|
||||
"TCOM" => Composer,
|
||||
"TPE3" => Conductor,
|
||||
"TIPL" => InvolvedPeople,
|
||||
"TEXT" => Lyricist,
|
||||
"TMCL" => MusicianCredits,
|
||||
"IPRO" => Producer,
|
||||
"TPUB" => Publisher,
|
||||
"TPUB" => Label,
|
||||
"TRSN" => InternetRadioStationName,
|
||||
"TRSO" => InternetRadioStationOwner,
|
||||
"TPE4" => Remixer,
|
||||
"TPOS" => DiscNumber,
|
||||
"TPOS" => DiscTotal,
|
||||
"TRCK" => TrackNumber,
|
||||
"TRCK" => TrackTotal,
|
||||
"POPM" => Popularimeter,
|
||||
"TDRC" => RecordingDate,
|
||||
"TDOR" => OriginalReleaseDate,
|
||||
"TSRC" => ISRC,
|
||||
"MVNM" => Movement,
|
||||
"MVIN" => MovementIndex,
|
||||
"TCMP" => FlagCompilation,
|
||||
"PCST" => FlagPodcast,
|
||||
"TFLT" => FileType,
|
||||
"TOWN" => FileOwner,
|
||||
"TDTG" => TaggingTime,
|
||||
"TLEN" => Length,
|
||||
"TOFN" => OriginalFileName,
|
||||
"TMED" => OriginalMediaType,
|
||||
"TENC" => EncodedBy,
|
||||
"TSSE" => EncoderSoftware,
|
||||
"TSSE" => EncoderSettings,
|
||||
"TDEN" => EncodingTime,
|
||||
"WOAF" => AudioFileURL,
|
||||
"WOAS" => AudioSourceURL,
|
||||
"WCOM" => CommercialInformationURL,
|
||||
"WCOP" => CopyrightURL,
|
||||
"WOAR" => TrackArtistURL,
|
||||
"WORS" => RadioStationURL,
|
||||
"WPAY" => PaymentURL,
|
||||
"WPUB" => PublisherURL,
|
||||
"TCON" => Genre,
|
||||
"TLEY" => InitialKey,
|
||||
"TMOO" => Mood,
|
||||
"TBPM" => BPM,
|
||||
"TCOP" => CopyrightMessage,
|
||||
"TDES" => PodcastDescription,
|
||||
"TCAT" => PodcastSeriesCategory,
|
||||
"WFED" => PodcastURL,
|
||||
"TDRL" => PodcastReleaseDate,
|
||||
"TGID" => PodcastGlobalUniqueID,
|
||||
"TKWD" => PodcastKeywords,
|
||||
"COMM" => Comment,
|
||||
"TLAN" => Language,
|
||||
"USLT" => Lyrics
|
||||
);
|
||||
|
||||
gen_map! (
|
||||
#[cfg(feature = "mp4_ilst")]
|
||||
ILST_MAP;
|
||||
|
||||
"\u{a9}alb" => AlbumTitle,
|
||||
"----:com.apple.iTunes:DISCSUBTITLE" => SetSubtitle,
|
||||
"tvsh" => ShowName,
|
||||
"\u{a9}grp" => ContentGroup,
|
||||
"\u{a9}nam" => TrackTitle,
|
||||
"----:com.apple.iTunes:SUBTITLE" => TrackSubtitle,
|
||||
"soal" => AlbumTitleSortOrder,
|
||||
"soaa" => AlbumArtistSortOrder,
|
||||
"sonm" => TrackTitleSortOrder,
|
||||
"soar" => TrackArtistSortOrder,
|
||||
"sosn" => ShowNameSortOrder,
|
||||
"soco" => ComposerSortOrder,
|
||||
"aART" => AlbumArtist,
|
||||
"\u{a9}ART" => TrackArtist,
|
||||
"\u{a9}wrt" => Composer,
|
||||
"----:com.apple.iTunes:CONDUCTOR" => Conductor,
|
||||
"----:com.apple.iTunes:ENGINEER" => Engineer,
|
||||
"----:com.apple.iTunes:LYRICIST" => Lyricist,
|
||||
"----:com.apple.iTunes:DJMIXER" => MixDj,
|
||||
"----:com.apple.iTunes:MIXER" => MixEngineer,
|
||||
"----:com.apple.iTunes:PRODUCER" => Producer,
|
||||
"----:com.apple.iTunes:LABEL" => Label,
|
||||
"----:com.apple.iTunes:REMIXER" => Remixer,
|
||||
"disk" => DiscNumber,
|
||||
"disk" => DiscTotal,
|
||||
"trkn" => TrackNumber,
|
||||
"trkn" => TrackTotal,
|
||||
"rate" => Popularimeter,
|
||||
"rtng" => ParentalAdvisory,
|
||||
"\u{a9}day" => RecordingDate,
|
||||
"----:com.apple.iTunes:ISRC" => ISRC,
|
||||
"----:com.apple.iTunes:BARCODE" => Barcode,
|
||||
"----:com.apple.iTunes:CATALOGNUMBER" => CatalogNumber,
|
||||
"cpil" => FlagCompilation,
|
||||
"pcst" => FlagPodcast,
|
||||
"----:com.apple.iTunes:MEDIA" => OriginalMediaType,
|
||||
"\u{a9}enc" => EncodedBy,
|
||||
"\u{a9}too" => EncoderSoftware,
|
||||
"\u{a9}gen" => Genre,
|
||||
"----:com.apple.iTunes:MOOD" => Mood,
|
||||
"tmpo" => BPM,
|
||||
"cprt" => CopyrightMessage,
|
||||
"----:com.apple.iTunes:LICENSE" => License,
|
||||
"ldes" => PodcastDescription,
|
||||
"catg" => PodcastSeriesCategory,
|
||||
"purl" => PodcastURL,
|
||||
"egid" => PodcastGlobalUniqueID,
|
||||
"keyw" => PodcastKeywords,
|
||||
"\u{a9}cmt" => Comment,
|
||||
"desc" => Description,
|
||||
"----:com.apple.iTunes:LANGUAGE" => Language,
|
||||
"----:com.apple.iTunes:SCRIPT" => Script,
|
||||
"\u{a9}lyr" => Lyrics
|
||||
"\u{a9}alb" => AlbumTitle,
|
||||
"----:com.apple.iTunes:DISCSUBTITLE" => SetSubtitle,
|
||||
"tvsh" => ShowName,
|
||||
"\u{a9}grp" => ContentGroup,
|
||||
"\u{a9}nam" => TrackTitle,
|
||||
"----:com.apple.iTunes:SUBTITLE" => TrackSubtitle,
|
||||
"soal" => AlbumTitleSortOrder,
|
||||
"soaa" => AlbumArtistSortOrder,
|
||||
"sonm" => TrackTitleSortOrder,
|
||||
"soar" => TrackArtistSortOrder,
|
||||
"sosn" => ShowNameSortOrder,
|
||||
"soco" => ComposerSortOrder,
|
||||
"aART" => AlbumArtist,
|
||||
"\u{a9}ART" => TrackArtist,
|
||||
"\u{a9}wrt" => Composer,
|
||||
"----:com.apple.iTunes:CONDUCTOR" => Conductor,
|
||||
"----:com.apple.iTunes:ENGINEER" => Engineer,
|
||||
"----:com.apple.iTunes:LYRICIST" => Lyricist,
|
||||
"----:com.apple.iTunes:DJMIXER" => MixDj,
|
||||
"----:com.apple.iTunes:MIXER" => MixEngineer,
|
||||
"----:com.apple.iTunes:PRODUCER" => Producer,
|
||||
"----:com.apple.iTunes:LABEL" => Label,
|
||||
"----:com.apple.iTunes:REMIXER" => Remixer,
|
||||
"disk" => DiscNumber,
|
||||
"disk" => DiscTotal,
|
||||
"trkn" => TrackNumber,
|
||||
"trkn" => TrackTotal,
|
||||
"rate" => Popularimeter,
|
||||
"rtng" => ParentalAdvisory,
|
||||
"\u{a9}day" => RecordingDate,
|
||||
"----:com.apple.iTunes:ISRC" => ISRC,
|
||||
"----:com.apple.iTunes:BARCODE" => Barcode,
|
||||
"----:com.apple.iTunes:CATALOGNUMBER" => CatalogNumber,
|
||||
"cpil" => FlagCompilation,
|
||||
"pcst" => FlagPodcast,
|
||||
"----:com.apple.iTunes:MEDIA" => OriginalMediaType,
|
||||
"\u{a9}enc" => EncodedBy,
|
||||
"\u{a9}too" => EncoderSoftware,
|
||||
"\u{a9}gen" => Genre,
|
||||
"----:com.apple.iTunes:MOOD" => Mood,
|
||||
"tmpo" => BPM,
|
||||
"cprt" => CopyrightMessage,
|
||||
"----:com.apple.iTunes:LICENSE" => License,
|
||||
"ldes" => PodcastDescription,
|
||||
"catg" => PodcastSeriesCategory,
|
||||
"purl" => PodcastURL,
|
||||
"egid" => PodcastGlobalUniqueID,
|
||||
"keyw" => PodcastKeywords,
|
||||
"\u{a9}cmt" => Comment,
|
||||
"desc" => Description,
|
||||
"----:com.apple.iTunes:LANGUAGE" => Language,
|
||||
"----:com.apple.iTunes:SCRIPT" => Script,
|
||||
"\u{a9}lyr" => Lyrics
|
||||
);
|
||||
|
||||
gen_map! (
|
||||
#[cfg(feature = "riff_info_list")]
|
||||
RIFF_INFO_MAP;
|
||||
|
||||
"IPRD" => AlbumTitle,
|
||||
"INAM" => TrackTitle,
|
||||
"IART" => TrackArtist,
|
||||
"IWRI" => Writer,
|
||||
"IMUS" => Composer,
|
||||
"IPRO" => Producer,
|
||||
"IPRD" => AlbumTitle,
|
||||
"INAM" => TrackTitle,
|
||||
"IART" => TrackArtist,
|
||||
"IWRI" => Writer,
|
||||
"IMUS" => Composer,
|
||||
"IPRO" => Producer,
|
||||
"IPRT" | "ITRK" => TrackNumber,
|
||||
"IFRM" => TrackTotal,
|
||||
"IRTD" => Popularimeter,
|
||||
"ICRD" => RecordingDate,
|
||||
"IFRM" => TrackTotal,
|
||||
"IRTD" => Popularimeter,
|
||||
"ICRD" => RecordingDate,
|
||||
"TLEN" => Length,
|
||||
"ISRF" => OriginalMediaType,
|
||||
"ITCH" => EncodedBy,
|
||||
"ISFT" => EncoderSoftware,
|
||||
"IGNR" => Genre,
|
||||
"ICOP" => CopyrightMessage,
|
||||
"ICMT" => Comment,
|
||||
"ILNG" => Language
|
||||
"ISRF" => OriginalMediaType,
|
||||
"ITCH" => EncodedBy,
|
||||
"ISFT" => EncoderSoftware,
|
||||
"IGNR" => Genre,
|
||||
"ICOP" => CopyrightMessage,
|
||||
"ICMT" => Comment,
|
||||
"ILNG" => Language
|
||||
);
|
||||
|
||||
gen_map!(
|
||||
|
|
Loading…
Reference in a new issue