1) xbox music and google play require subscription for mobile on demand streaming. youtube provides...

Post on 22-Dec-2015

227 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Bryan NealerProgram ManagerXbox Music Developer Platform - http://music.xbox.com/developer

Xbox Music APIMusic for every app

3-652

A quick tour of Xbox Music

The API set

Why Xbox Music API is great for developers

Demos & How to

Got music?

A quick tour of Xbox Music

All the music you love. Every way you want it.

1) Xbox Music and Google Play require subscription for Mobile on Demand streaming. YouTube provides free video on mobile. 2) Artist Radio is included as part of free streaming on PCs and with paid music pass on mobile3) Music videos on Xbox 360 with paid music pass and Xbox Live Gold membership

Music access via APIs for average app user(non-premium music listener)

Metadata access Deeplinking for purchase and

playback

Simple, RESTful, JSON or XML responses

Rich metadata from Xbox Music

Deep linking to Xbox Music tuners

Affiliate program

10% on premium music pass sign-up (lifetime)

5% on Purchase of songs / albums

http://music.xbox.com/developer

Artist metadata

Artist images Top songsDiscographies

Album metadata

Album image Track numberTrack list

Album nameArtist name

Contributing artistsRelease date

Genre

Featured content / country specific

Featured ChartsNew releases

Modern music dilemma for developers

Metadata access Deeplink for playback Inline playbackfor premium users

Scenarios beyondlistening are

missing…

?

Pilot for Xbox Music developers

Metadata

Playback

for premium users

Deeplinking

industry norm

for a limited catalog of exciting emerging artists

scenarios beyond listening

Content forprogrammat

ictrigger

Content toremix

Inline playback andoffline playbackfor everyone

for 38M tracks

DEMO – Contoso Music Blog

Metadata access Deeplink for playback

Access with clientId and secret

HTTP REST, CORS, JSONP

JSON or XML responses

The basics

.Net 4.5 C#:

HttpClient client = new HttpClient();

HttpResponseMessage responseMessage = await client.GetAsync("https://music.xboxlive.com/1/content/music/search?q=DJ+BryanN&accessToken="+accessToken);

ContentResponse response = await responseMessage.Content.ReadAsAsync<ContentResponse>();

JavaScript:

$.ajax({

url: 'https://music.xboxlive.com/1/content/music/search?q=DJ+BryanN&accessToken='+accessToken),

headers: { 'accept': 'application/json' },

}).done(function (response) {

...

}

Sample request

{ "Artists": { "Items": [{ "Genres": ["Rock"], "Subgenres": ["Classic Rock"], "Id": "music.D6670000-0200-11DB-89CA-0019B92A3933", "Name": “DJ BryanN", "ImageUrl": "http://musicimage.xboxlive.com/content/music.D6670000-0200-11DB-89CA-0019B92A3933/image?locale=en-US", "Link": "http://music.xbox.com/Artist/D6670000-0200-11DB-89CA-0019B92A3933?partnerID=CoolPartnerId", "OtherIds": { "music.amg": "P 76669" }, "Source": "Catalog" }, ...], "ContinuationToken": "AYdrKUUZCQRAAAEAClBpbmsgRmxveWQBAAIyNQ" }}

Sample response

GET /1/content/music/search?q=DJBryanNGET /1/content/music.D6670000-0200-11DB-89CA-0019B92A3933/lookup

Search

• Name• Id• Link• Genre/

Subgenres• Image

• Top Tracks• Albums

• Release Date• Duration• Subtitle• Artists• IsExplicit

• Track number• Parent album• Rights

Artists

• Tracks List

Albums

Songs

Featured artists and albums

Top artists, albums, and songs

Country based

Filtered by genres

Relevant content

Access to featured artists and albumsGET /1/content/music/spotlight?country=US

Access to new and popular musicGET /1/content/music/newreleases?genre=rock

Access to top musicGET /1/content/music/catalog/albums/browse?orderBy=ReleaseDate (default)

GET / 1/content/music/catalog/tracks/browse?orderBy=AllTimePlayCountGET /1/content/music/catalog/artists/browse?orderBy=MostPopular

Accessing editorial content

Image auto selection based on w and h

Face detection

Smart cropping

Auto resize

Smart images

Easy to build beautifully tailored experience

http://musicimage.xboxlive.com/content/music.D6670000-0200-11DB-89CA-0019B92A3933/image?locale=en-US&width=1080&height=480

With Smart ImageWithout Smart Image

Redirect to xbox music and earn revenue

We track if your user buys

We track if your user signs up for premium

Affiliate and deep linking

{ "Artists": { "Items": [{ "Genres": ["Rock"], "Subgenres": ["Classic Rock"], "Id": "music.D6670000-0200-11DB-89CA-0019B92A3933", "Name": “DJ BryanN", "ImageUrl": "http://musicimage.xboxlive.com/content/music.D6670000-0200-11DB-89CA-0019B92A3933/image?locale=en-US", "Link": "http://music.xbox.com/Artist/D6670000-0200-11DB-89CA-0019B92A3933?partnerID=CoolPartnerId", "OtherIds": { "music.amg": "P 76669" }, "Source": "Catalog" }, ...], "ContinuationToken": "AYdrKUUZCQRAAAEAClBpbmsgRmxveWQBAAIyNQ" }}

Sample response

Response API:"Link": http://music.xbox.com/Track/00CAF507-0100-11DB-89CA-0019B92A3933?partnerID=CoolPartnerID

http://click.linksynergy.com/deeplink?id=HvCC*pxhL*I&mid=39033&murl=http%3A%2F%2Fmusic.xbox.com%2FTrack%2F00CAF507-0100-11DB-89CA-0019B92A3933%3FpartnerID%3DCoolPartnerID%26action%3Dplay

http://music.xbox.com/Track/00CAF507-0100-11DB-89CA-0019B92A3933?partnerID=AwesomePartner&action=play&siteID=HvCC.pxhL.I-s2ycbF8Xqr8nXNIImJy4RA

Driving purchase: affiliate link

Tracks affiliate clickand redirects

Add the Linkshare envelope in your application

To XboxMusic

DEMO – Solitaire

Playing content from within your app is simple

Inline playback

GET /1/content/music.A83EB907-0100-11DB-89CA-0019B92A3933/previewGET /1/content/music.A83EB907-0100-11DB-89CA-0019B92A3933/stream

30s Sample{ "Url": "http://progdownload.zune.net/129/580/712/170/audio.mp3?(...)", "ContentType": "audio/mp3"}

Full Track{"Url":"https://webstream-vh.akamaihd.net/i/125/523/973/155/audio.mp4/master.m3u8?(...)", "ContentType":"application/vnd.apple.mpegurl","ExpiresOn":"2014-04-04T13:30:42.256Z"

}

Inline playback

DEMO – Alarm clock

Get started

* for a limited catalog

Xbox Music API v1: All publishers

http://music.xbox.com/developer

Metadata access Deeplink for playback

pnd purchase

API Pilot: Application Onlyhttp://music.xbox.com/developer/pilot

Inline playback Inline Premium

Programmatic Trigger Remix

*

* *

bryan@xbox.com – first 25 mails get a music pass

Please Fill Out the Evaluations

Xbox One and Kinect Sessions at //Build!Time Slot Room Presenter Code Session Title

Wed, April 2nd 1:00 - 2:00

3024Nikola Metulev

2-649 Building Windows, Windows Phone, and Xbox One Apps with HTML/JS/CSS & C++

Wed, April 2nd 2:30 – 3:30

3024 Gersh Payzer 2-647 Building Xbox One Apps using HTML and JavaScript

Wed, April 2nd 4:00 - 5:00

3024 Chris White 2-514 Kinect 101: Introduction to Kinect for Windows

Thurs, April 3rd 1:00 - 2:00

2004 Rob Cameron 3-648 Leveraging Windows Features to build Xbox One App Experiences

Thurs, April 3rd 4:00 - 5:00

2004Kevin Kennedy

2-532 Bringing Kinect into your Windows Store app

Thurs, April 3rd 5:30 - 6:30

3018 Alain Maillot 2-637 Extending Xbox Experiences to Devices

Fri, April 4th 9:00 - 10:00

3014 Eddie Mays 2-650 Designing the Ultimate 10’ Experience

Fri, April 4th 10:30 - 11:30

Hall 1A Frank Savage 2-651 Understanding the Xbox One Game Platform Built on Windows

Fri, April 4th 12:30 - 1:30

3014 Bryan Nealer 2-652 Xbox Music API – Music for every app

Your Feedback is Important

Fill out an evaluation of this session and help shape future events.

Scan the QR code to evaluate this session on your mobile device.

You’ll also be entered into a daily prize drawing!

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

top related