1b0t
1b0t

Reputation: 432

iTunes API - How to tell if a song is available on Apple Music?

Apple recently updated the iTunes Affiliate API to redirect all links to Apple Music by default (https://www.apple.com/itunes/affiliates/resources/blog/apple-music-is-now-live-1.html). This seems to be a total mess at the moment because about 50% of the links will open Music.app and show you a beautiful white blank page. Then nothing.

Is there any way to tell if the link will be a hit without throwing users to Music.app?

Upvotes: 1

Views: 2528

Answers (1)

Ricardo Brancaglion
Ricardo Brancaglion

Reputation: 150

The object isStreamable was added and it will return true or false indicating that the track is available in Apple Music or not.

Upvotes: 3

Related Questions