Example #1
0
        private void UpdateForArtist(string artist)
        {
            try {
                LastfmArtistData artist_data = new LastfmArtistData(artist);

                // Make sure all the album art is downloaded
                foreach (SimilarArtist similar in artist_data.SimilarArtists)
                {
                    DataCore.DownloadContent(similar.SmallImageUrl);
                }

                UpdateForArtist(artist, artist_data.SimilarArtists, artist_data.TopAlbums, artist_data.TopTracks);
            } catch (Exception e) {
                Log.Exception(e);
            }
        }