×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    8

    New NuGet has Broken Music Explorer Code

    I downloaded the Nokia Music package and copied in the MusicApi class from the MusicExplorer example, only to find a load of errors

    The likes of .GetSimilarArtists has now changed to .GetSimilarArtistsAsync, yet simply adding Async to the end doesn't fix the errors.

    Does anyone have a copy of the class that works with the new package ?

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    511

    Re: New NuGet has Broken Music Explorer Code

    You will have to use the await keyword in conjunction with the Async methods. There shouldn't be too many other changes required. For more information on async/await you can have a look at this article: http://msdn.microsoft.com/en-us/library/hh191443.aspx

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: New NuGet has Broken Music Explorer Code

    While I am not familiar with the API, based on my past experience it is always a good idea to read those error messages, and perhaps post here some of them.
    A trivial question (which also shows I am not familiar with the API): was GetSimilarArtists an asynchronous method in the past, just without the tagging? Because now it is certainly one, and has to be awaited somewhere. See http://developer.nokia.com/resources...stsAsyncmethod

  4. #4
    Nokia Developer Expert
    Join Date
    Feb 2014
    Posts
    26

    Re: New NuGet has Broken Music Explorer Code

    Hi, sorry about that... let me update the sample app and get back to you
    Regards,
    Steve

  5. #5
    Nokia Developer Expert
    Join Date
    Feb 2014
    Posts
    26

    Re: New NuGet has Broken Music Explorer Code

    As promised, here's a fixed version of Music Explorer: https://github.com/mixradio/wp-api-c.../MusicExplorer
    Regards,
    Steve

  6. #6
    Registered User
    Join Date
    Feb 2013
    Posts
    8

    Re: New NuGet has Broken Music Explorer Code

    Great.. There goes my weekend

Similar Threads

  1. Rate my app nuget
    By Bigmachini in forum Windows Phone General
    Replies: 1
    Last Post: 2013-11-21, 00:55
  2. Doc error: Links to HERE REST API Explorer actually link to JavaScript API Explorer
    By okoskimies in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 0
    Last Post: 2013-04-03, 11:20
  3. nokia music not available in this locale? (Music Explorer Sample)
    By roschler in forum Windows Phone General
    Replies: 5
    Last Post: 2013-04-02, 14:39
  4. Forum code broken
    By danhicksbyron in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 5
    Last Post: 2010-11-06, 13:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×