public MediaState PlayAlbumArtist(AlbumArtist artist, bool enqueue)
 {
     throw new NotImplementedException();
 }
 public IEnumerable<Track> GetTracksByAlbumArtist(AlbumArtist artist)
 {
     return getTracksByArtist(artist.Name, true);
 }
        private static void CacheAlbumArtists(WindowsMediaPlayer mediaPlayer)
        {
            // Get the album artists
            IWMPStringCollection artistNames = mediaPlayer.mediaCollection
                .getAttributeStringCollection(MediaAttributes.WMAlbumArtist, MediaType.Audio);

            for (int i = 0; i < artistNames.count; i++)
            {
                if (!_albumArtistCache.ContainsKey(artistNames.Item(i).ToLower()))
                {
                    string artistName = artistNames.Item(i);
                    if (artistName != null && !string.IsNullOrEmpty(artistName))
                    {
                        AlbumArtist artist = new AlbumArtist()
                        {
                            Name = artistName,
                            Albums = getAlbumsByArtist(mediaPlayer, artistNames.Item(i), true)
                        };

                        _albumArtistCache.Add(artist.Name.ToLower(), artist);
                    }
                }
            }
        }
 public static AlbumArtist GetAlbumArtist(this IITFileOrCDTrack track)
 {
     AlbumArtist artist = new AlbumArtist();
     artist.Name = track.AlbumArtist;
     return artist;
 }
 public MediaState PlayAlbumArtist(AlbumArtist artist, bool enqueue)
 {
     MediaLibraryService service = new MediaLibraryService();
     return PlayTracks(service.GetTracksByAlbumArtist(artist), enqueue);
 }
 public IEnumerable<Track> GetTracksByAlbumArtist(AlbumArtist artist)
 {
     throw new NotImplementedException();
 }