예제 #1
0
        public static IEnumerable <Song> ListSongsByAlbumId(string albumId)
        {
            MusicFolder albumContens = Subsonic.GetMusicDirectory(albumId);

            return(albumContens.Songs);
        }
예제 #2
0
        public static IEnumerable <string> GetAlbumIds(string artistId)
        {
            MusicFolder folderContents = Subsonic.GetMusicDirectory(artistId);

            return(folderContents.Folders.Select(mf => mf.Id));
        }