diff --git a/track.go b/track.go index 45b9e70..306e779 100644 --- a/track.go +++ b/track.go @@ -73,10 +73,6 @@ type LinkedFromInfo struct { // FullTrack provides extra track data in addition to what is provided by SimpleTrack. type FullTrack struct { SimpleTrack - // The album on which the track appears. The album object includes a link in href to full information about the album. - Album SimpleAlbum `json:"album"` - // Known external IDs for the track. - ExternalIDs map[string]string `json:"external_ids"` // Popularity of the track. The value will be between 0 and 100, // with 100 being the most popular. The popularity is calculated from // both total plays and most recent plays. diff --git a/user_test.go b/user_test.go index acc1eb5..5132585 100644 --- a/user_test.go +++ b/user_test.go @@ -447,10 +447,7 @@ func TestCurrentUsersTopTracks(t *testing.T) { } isrc := "QZ4JJ1764466" - i, ok := tracks.Tracks[0].ExternalIDs["isrc"] - if !ok { - t.Error("External IDs missing ISRC") - } + i := tracks.Tracks[0].ExternalIDs.ISRC if i != isrc { t.Errorf("Wrong ISRC: want %s, got %s\n", isrc, i) }