/// <summary> /// Queries last.fm for meta data corresponding to the given artist. /// </summary> /// <param name="artist"> /// The name of the artist /// </param> /// <param name="session"> /// The last.fm <see cref="Session"/> /// </param> private void QueryTopAlbums(string artist, Session session) { Artist art = new Artist(artist, session); TopAlbum[] ta = art.GetTopAlbums(); Hyena.Log.Debug("NoNoise - LastFM Albums queried"); if (ta.Length <= 0) Hyena.Log.Debug("NoNoise - Album list empty"); else Hyena.Log.Debug("NoNoise - Album list filled"); foreach (TopAlbum t in ta) { topalbums += t.Item.Name + "\n"; } }