From 5700ef13aceed78c50ac04f635adabdec0a1001d Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Fri, 5 Jan 2024 23:13:43 +0100 Subject: [PATCH] Rename PodcastReleaseDate to ReleaseDate --- src/tag/item.rs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/tag/item.rs b/src/tag/item.rs index df037087..fe409b61 100644 --- a/src/tag/item.rs +++ b/src/tag/item.rs @@ -106,7 +106,7 @@ gen_map!( "Track" => TrackTotal, "Year" => Year, "ORIGINALYEAR" => OriginalReleaseDate, - "RELEASEDATE" => PodcastReleaseDate, + "RELEASEDATE" => ReleaseDate, "ISRC" => Isrc, "Barcode" => Barcode, "CatalogNumber" => CatalogNumber, @@ -211,7 +211,7 @@ gen_map!( "TDES" => PodcastDescription, "TCAT" => PodcastSeriesCategory, "WFED" => PodcastURL, - "TDRL" => PodcastReleaseDate, + "TDRL" => ReleaseDate, "TGID" => PodcastGlobalUniqueID, "TKWD" => PodcastKeywords, "COMM" => Comment, @@ -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, @@ -369,7 +369,7 @@ gen_map!( "YEAR" => Year, "ORIGINALDATE" => OriginalReleaseDate, "ORIGINALYEAR" => OriginalReleaseDate, - "RELEASEDATE" => PodcastReleaseDate, + "RELEASEDATE" => ReleaseDate, "ISRC" => Isrc, "BARCODE" => Barcode, "CATALOGNUMBER" => CatalogNumber, @@ -553,6 +553,13 @@ gen_item_keys!( /// Year Year, + /// Release date + /// + /// The release date of a podcast episode or any other kind of release. + /// + /// + ReleaseDate, + /// Original release date/year /// /// @@ -669,10 +676,6 @@ gen_item_keys!( PodcastDescription, PodcastSeriesCategory, PodcastURL, - /// Release date (of the podcast episode) - /// - /// - PodcastReleaseDate, PodcastGlobalUniqueID, PodcastKeywords,