locked
Do "ThumbUri" not support on GetTopArtistsForGenreAsync of on Mixradio API?

    Question

  • If I use this code then there are thumb(Thumb100Uri,...)

    ListResponse<Artist> response = await client.GetTopArtistsAsync(0,20);

    foreach(Artist a in response.Result)
                    {
                        artists = new ViewModel.Artists();
                        artists.Name = a.Name;
                        artists.Id = a.Id;
                        artists.Genres = a.Genres[0].Name.ToString();
                        artists.Thumb100Uri = a.Thumb100Uri.ToString();
                        artists.Thumb200Uri = a.Thumb200Uri.ToString();
                        artists.Thumb300Uri = a.Thumb320Uri.ToString();
                        artists.Thumb620Uri = a.Thumb640Uri.ToString();
                        artists.Thumb32Uri = "/Thumb/connection41.png";


    else  not

    ListResponse<Artist> response = await client.GetTopArtistsForGenreAsync("Pop",0,20);

    foreach(Artist a in response.Result) { artists = new ViewModel.Artists(); artists.Name = a.Name; artists.Id = a.Id; artists.Genres = a.Genres[0].Name.ToString(); artists.Thumb100Uri = a.Thumb100Uri.ToString();// null artists.Thumb200Uri = a.Thumb200Uri.ToString();// null artists.Thumb300Uri = a.Thumb320Uri.ToString();// null artists.Thumb620Uri = a.Thumb640Uri.ToString();// null artists.Thumb32Uri = "/Thumb/connection41.png";




    Now, I look artist for by pop then just show name, id as Taylor Swift, Katy Pery but there are no thumbail, no photos. What the hell!. I dont understand.


    Thursday, May 07, 2015 3:13 AM

All replies

  • I recommend that you post this question to the correct forum:  http://dev.mixrad.io/doc/support.html

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, May 07, 2015 3:07 PM
    Moderator