Skip to content

Commit

Permalink
Rename PodcastReleaseDate to ReleaseDate
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde authored and Serial-ATA committed Jan 5, 2024
1 parent 09cac33 commit 5700ef1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/tag/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ gen_map!(
"Track" => TrackTotal,
"Year" => Year,
"ORIGINALYEAR" => OriginalReleaseDate,
"RELEASEDATE" => PodcastReleaseDate,
"RELEASEDATE" => ReleaseDate,
"ISRC" => Isrc,
"Barcode" => Barcode,
"CatalogNumber" => CatalogNumber,
Expand Down Expand Up @@ -211,7 +211,7 @@ gen_map!(
"TDES" => PodcastDescription,
"TCAT" => PodcastSeriesCategory,
"WFED" => PodcastURL,
"TDRL" => PodcastReleaseDate,
"TDRL" => ReleaseDate,
"TGID" => PodcastGlobalUniqueID,
"TKWD" => PodcastKeywords,
"COMM" => Comment,
Expand Down Expand Up @@ -265,7 +265,7 @@ gen_map!(
"rtng" => ParentalAdvisory,
"\u{a9}day" => RecordingDate,
"----:com.apple.iTunes:ORIGINALDATE" => OriginalReleaseDate, // TagLib v2.0
"----:com.apple.iTunes:RELEASEDATE" => PodcastReleaseDate,
"----:com.apple.iTunes:RELEASEDATE" => ReleaseDate,
"----:com.apple.iTunes:ISRC" => Isrc,
"----:com.apple.iTunes:BARCODE" => Barcode,
"----:com.apple.iTunes:CATALOGNUMBER" => CatalogNumber,
Expand Down Expand Up @@ -369,7 +369,7 @@ gen_map!(
"YEAR" => Year,
"ORIGINALDATE" => OriginalReleaseDate,
"ORIGINALYEAR" => OriginalReleaseDate,
"RELEASEDATE" => PodcastReleaseDate,
"RELEASEDATE" => ReleaseDate,
"ISRC" => Isrc,
"BARCODE" => Barcode,
"CATALOGNUMBER" => CatalogNumber,
Expand Down Expand Up @@ -553,6 +553,13 @@ gen_item_keys!(
/// Year
Year,

/// Release date
///
/// The release date of a podcast episode or any other kind of release.
///
/// <https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#release-date-10>
ReleaseDate,

/// Original release date/year
///
/// <https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#original-release-date-1>
Expand Down Expand Up @@ -669,10 +676,6 @@ gen_item_keys!(
PodcastDescription,
PodcastSeriesCategory,
PodcastURL,
/// Release date (of the podcast episode)
///
/// <https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#release-date-10>
PodcastReleaseDate,
PodcastGlobalUniqueID,
PodcastKeywords,

Expand Down

0 comments on commit 5700ef1

Please sign in to comment.