Example #1
0
 public SpotifyTrack(FullTrack track)
 {
     this.Title = track.Name;
     this.Artists = track.Artists.Select(x => x.Name).ToArray();
     this.SpotifyId = track.Id;
     this.Popularity = track.Popularity;
     this.Album = track.Album.Name;
     this.SpotifyUri = track.Uri;
 }
 public Task<string> GetArtworkAsync(FullTrack track) => GetArtworkAsync(track.Album);