Skip to content

Commit 31a6208

Browse files
committed
Add TotalTracks to SimpleAlbum struct
1 parent a4e1430 commit 31a6208

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

album.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ type SimpleAlbum struct {
4949
ReleaseDate string `json:"release_date"`
5050
// The precision with which ReleaseDate value is known: "year", "month", or "day"
5151
ReleaseDatePrecision string `json:"release_date_precision"`
52+
// The number of tracks on the album.
53+
TotalTracks Numeric `json:"total_tracks"`
5254
}
5355

5456
// ReleaseDateTime converts the album's ReleaseDate to a time.TimeValue.

0 commit comments

Comments
 (0)