mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2025-03-04 23:07:20 +00:00
item: Switch ItemKey
variants to UpperCamelCase
This commit is contained in:
parent
48df6ccae4
commit
d7dffcf0d2
1 changed files with 25 additions and 25 deletions
|
@ -106,7 +106,7 @@ gen_map!(
|
|||
"Track" => TrackNumber,
|
||||
"Track" => TrackTotal,
|
||||
"Year" => Year,
|
||||
"ISRC" => ISRC,
|
||||
"ISRC" => Isrc,
|
||||
"Barcode" => Barcode,
|
||||
"CatalogNumber" => CatalogNumber,
|
||||
"Compilation" => FlagCompilation,
|
||||
|
@ -172,7 +172,7 @@ gen_map!(
|
|||
"POPM" => Popularimeter,
|
||||
"TDRC" => RecordingDate,
|
||||
"TDOR" => OriginalReleaseDate,
|
||||
"TSRC" => ISRC,
|
||||
"TSRC" => Isrc,
|
||||
"BARCODE" => Barcode,
|
||||
"CATALOGNUMBER" => CatalogNumber,
|
||||
"WORK" => Work, // ID3v2.4: TXXX:WORK (Apple uses TIT1/ContentGroup, see GRP1/AppleId3v2ContentGroup for disambiguation)
|
||||
|
@ -195,19 +195,19 @@ gen_map!(
|
|||
"REPLAYGAIN_ALBUM_PEAK" => ReplayGainAlbumPeak,
|
||||
"REPLAYGAIN_TRACK_GAIN" => ReplayGainTrackGain,
|
||||
"REPLAYGAIN_TRACK_PEAK" => ReplayGainTrackPeak,
|
||||
"WOAF" => AudioFileURL,
|
||||
"WOAS" => AudioSourceURL,
|
||||
"WCOM" => CommercialInformationURL,
|
||||
"WCOP" => CopyrightURL,
|
||||
"WOAR" => TrackArtistURL,
|
||||
"WORS" => RadioStationURL,
|
||||
"WPAY" => PaymentURL,
|
||||
"WPUB" => PublisherURL,
|
||||
"WOAF" => AudioFileUrl,
|
||||
"WOAS" => AudioSourceUrl,
|
||||
"WCOM" => CommercialInformationUrl,
|
||||
"WCOP" => CopyrightUrl,
|
||||
"WOAR" => TrackArtistUrl,
|
||||
"WORS" => RadioStationUrl,
|
||||
"WPAY" => PaymentUrl,
|
||||
"WPUB" => PublisherUrl,
|
||||
"TCON" => Genre,
|
||||
"TKEY" => InitialKey,
|
||||
"COLOR" => Color,
|
||||
"TMOO" => Mood,
|
||||
"TBPM" => BPM,
|
||||
"TBPM" => Bpm,
|
||||
"TCOP" => CopyrightMessage,
|
||||
"TDES" => PodcastDescription,
|
||||
"TCAT" => PodcastSeriesCategory,
|
||||
|
@ -264,7 +264,7 @@ gen_map!(
|
|||
"rate" => Popularimeter,
|
||||
"rtng" => ParentalAdvisory,
|
||||
"\u{a9}day" => RecordingDate,
|
||||
"----:com.apple.iTunes:ISRC" => ISRC,
|
||||
"----:com.apple.iTunes:ISRC" => Isrc,
|
||||
"----:com.apple.iTunes:BARCODE" => Barcode,
|
||||
"----:com.apple.iTunes:CATALOGNUMBER" => CatalogNumber,
|
||||
"cpil" => FlagCompilation,
|
||||
|
@ -275,7 +275,7 @@ gen_map!(
|
|||
"\u{a9}gen" => Genre,
|
||||
"----:com.apple.iTunes:COLOR" => Color,
|
||||
"----:com.apple.iTunes:MOOD" => Mood,
|
||||
"tmpo" | "----:com.apple.iTunes:BPM" => BPM, // integer bpm (fourcc atom) vs. precise bpm (freeform atom)
|
||||
"tmpo" | "----:com.apple.iTunes:BPM" => Bpm, // integer bpm (fourcc atom) vs. precise bpm (freeform atom)
|
||||
"----:com.apple.iTunes:initialkey" => InitialKey,
|
||||
"----:com.apple.iTunes:replaygain_album_gain" => ReplayGainAlbumGain,
|
||||
"----:com.apple.iTunes:replaygain_album_peak" => ReplayGainAlbumPeak,
|
||||
|
@ -366,7 +366,7 @@ gen_map!(
|
|||
"DATE" => RecordingDate,
|
||||
"YEAR" => Year,
|
||||
"ORIGINALDATE" => OriginalReleaseDate,
|
||||
"ISRC" => ISRC,
|
||||
"ISRC" => Isrc,
|
||||
"BARCODE" => Barcode,
|
||||
"CATALOGNUMBER" => CatalogNumber,
|
||||
"COMPILATION" => FlagCompilation,
|
||||
|
@ -381,7 +381,7 @@ gen_map!(
|
|||
"GENRE" => Genre,
|
||||
"COLOR" => Color,
|
||||
"MOOD" => Mood,
|
||||
"BPM" => BPM,
|
||||
"BPM" => Bpm,
|
||||
// MusicBrainz Picard suggests "KEY" (VirtualDJ, Denon Engine DJ), but "INITIALKEY"
|
||||
// seems to be more common (Rekordbox, Serato DJ, Traktor DJ, Mixxx).
|
||||
// <https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#initial-key>
|
||||
|
@ -542,7 +542,7 @@ gen_item_keys!(
|
|||
OriginalReleaseDate,
|
||||
|
||||
// Identifiers
|
||||
ISRC,
|
||||
Isrc,
|
||||
Barcode,
|
||||
CatalogNumber,
|
||||
Work,
|
||||
|
@ -587,21 +587,21 @@ gen_item_keys!(
|
|||
ReplayGainTrackPeak,
|
||||
|
||||
// URLs
|
||||
AudioFileURL,
|
||||
AudioSourceURL,
|
||||
CommercialInformationURL,
|
||||
CopyrightURL,
|
||||
TrackArtistURL,
|
||||
RadioStationURL,
|
||||
PaymentURL,
|
||||
PublisherURL,
|
||||
AudioFileUrl,
|
||||
AudioSourceUrl,
|
||||
CommercialInformationUrl,
|
||||
CopyrightUrl,
|
||||
TrackArtistUrl,
|
||||
RadioStationUrl,
|
||||
PaymentUrl,
|
||||
PublisherUrl,
|
||||
|
||||
// Style
|
||||
Genre,
|
||||
InitialKey,
|
||||
Color,
|
||||
Mood,
|
||||
BPM,
|
||||
Bpm,
|
||||
|
||||
// Legal
|
||||
CopyrightMessage,
|
||||
|
|
Loading…
Add table
Reference in a new issue