From 31a62086aa4f0d91836d32bc5283050db3f59bfe Mon Sep 17 00:00:00 2001 From: Jonathan Hall Date: Sat, 9 Nov 2024 21:07:13 -0600 Subject: [PATCH] Add TotalTracks to SimpleAlbum struct --- album.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/album.go b/album.go index f810c59..d624155 100644 --- a/album.go +++ b/album.go @@ -49,6 +49,8 @@ type SimpleAlbum struct { ReleaseDate string `json:"release_date"` // The precision with which ReleaseDate value is known: "year", "month", or "day" ReleaseDatePrecision string `json:"release_date_precision"` + // The number of tracks on the album. + TotalTracks Numeric `json:"total_tracks"` } // ReleaseDateTime converts the album's ReleaseDate to a time.TimeValue.