Discussion Board

Results 1 to 2 of 2

Thread: Playing Mixes

  1. #1
    Registered User
    Join Date
    Nov 2012
    Posts
    1

    Playing Mixes

    I was trying out Nokia Music API. I wanted to play a mix like this:

    Code:
    MusicClientAsync client = new MusicClientAsync("MyAppId", "MyAppCode");
    ListResponse<MixGroup> mixGroups = await client.GetMixGroups();
    ListResponse<Mix> mixes = await client.GetMixes(mixGroups.Result[0]);
    mixes.Result[0].Play();
    But it only opens music.ovi.com website. I'm working on emulator. Description for Play() method says:
    Launches Nokia Music to start playback of the mix using the
    Yes, it is cut in the middle like that.

    According to Play() description I can't play music in my app. Play() should open other app(Nokia Music) which will play it, correct? So I can't test in on emulator since there's no Nokia Music on it? Or maybe there is a way to play songs in my app which to be honest I was expecting.

  2. #2
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    73

    Re: Playing Mixes

    Quote Originally Posted by sayy View Post
    I was trying out Nokia Music API. I wanted to play a mix like this:

    Code:
    MusicClientAsync client = new MusicClientAsync("MyAppId", "MyAppCode");
    ListResponse<MixGroup> mixGroups = await client.GetMixGroups();
    ListResponse<Mix> mixes = await client.GetMixes(mixGroups.Result[0]);
    mixes.Result[0].Play();
    Thanks for trying out the API!

    Quote Originally Posted by sayy View Post
    But it only opens music.ovi.com website. I'm working on emulator. Description for Play() method says:

    Yes, it is cut in the middle like that.
    Thanks for letting me know about the XML documentation problem - somehow the class reference element didn't work. I'll push fixes to GitHub and NuGet tomorrow.

    To get the proper experience of playback, you need the Nokia Music app and this of course isn't on the emulator. On the emulator and non-Nokia phones, we offer a web fallback which makes sense for the artist and product details, but not so much on the mix playback. It's something we're aware of and we are working on improving that soon.


    Quote Originally Posted by sayy View Post
    According to Play() description I can't play music in my app. Play() should open other app(Nokia Music) which will play it, correct? So I can't test in on emulator since there's no Nokia Music on it?
    Both correct, yes.

    Quote Originally Posted by sayy View Post
    Or maybe there is a way to play songs in my app which to be honest I was expecting.
    Playback within your app is not something we offer at this time. I'm sorry you've not had a great experience with the API because of this; it really requires a Windows Phone 8 Lumia which has the Nokia Music app to work as you'd expect, i.e. your user initiates playback, Nokia Music appears and starts playing, the user can then go back to your app and continue.

    Regards,
    Steve

Similar Threads

  1. Problem playing tones after playing a sound file
    By mattbrenner in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2010-08-18, 05:35
  2. M4A playing. Is that possible?
    By Virii in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2010-05-27, 12:38
  3. playing swf
    By remyag in forum Symbian
    Replies: 1
    Last Post: 2008-07-28, 07:18
  4. playing mp3
    By cosmio in forum General Development Questions
    Replies: 0
    Last Post: 2004-11-27, 07:58

Posting Permissions

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