Questions tagged [apple-music]

Apple Music is a music streaming service created by Apple Inc.

Apple Music is a music streaming service created by Apple Inc. Users can listen on-demand to available tracks or curated playlists. The service also includes Internet radio stations.

Use this tag for questions regarding Apple Music and its APIs. For general Cocoa or Cocoa Touch API questions, use the and tags respectively. For language questions, use the or tags.

196 questions
6
votes
2 answers

play apple music songs by third party applications

I am using iTunes Search API in my application & playing the previewUrl songs from within the application by using AVPlayer If user wants to play the full song, he/she needs to purchase the song from iTunes Stores only then can he/she play the…
Anupam Mishra
  • 3,408
  • 5
  • 35
  • 63
5
votes
1 answer

Use token from "sign in with apple" to query apple music api

Context I am trying to make webservice that fetches the name and email from an users Apple account and place a Song or Artist in his library. For adding a Song to the library I found this apple-music-api. library. To make requests on behalf of a…
Florian
  • 725
  • 6
  • 27
5
votes
2 answers

Do Apple Music User Tokens expire?

I'm working on integrating Apple Music into my web app. I let users authenticate once, using Apple's MusicKit JS. However, I'm curious if the resulting Music User Token expires. I'm storing this token in a database, but I need to know if I can use…
Niels Kersic
  • 830
  • 1
  • 9
  • 24
5
votes
0 answers

Does the Apple Music User Token change for every authentication?

I'm trying to identify a user by storing the Apple Music User Token on a database. Is this token the same for an Apple Music user over multiple authentications? I seem to have run into a hiccup here - over the course of the development (me being the…
an23lm
  • 376
  • 2
  • 15
5
votes
1 answer

Is it possible to get the iTunes Store ID for an MPMediaItem?

Is there a way to get the iTunes Store ID for a song from an MPMediaItem? I'm trying to pull the user's playlists, transfer those to another device, then play the songs using MPMusicPlayerController's setQueueWithStoreIDs. This would require mapping…
Jay Whitsitt
  • 937
  • 9
  • 27
5
votes
5 answers

How to display album artwork of streamed Apple Music?

In my music player using the new Apple Music API(released May 12, 2016) in iOS 9 (swift, although I'm currently getting familiar with Objective-C as well), I can display information from a streamed song, but not the artwork. I am using MediaPlayer,…
Jake Dobson
  • 1,716
  • 3
  • 11
  • 29
5
votes
0 answers

Apple music genre selection screen balls/bubbles

I tried to replicate what Apple has done with the genre selection screen for Apple Music. At first I thought it was done with UIViewDynamics but I found out that it was most likely done with SpriteKit due to it having a better physics engine. I…
KTGPON
  • 51
  • 4
5
votes
2 answers

How can I implement the miniplayer in Apple Music in my own app?

Apple introduced a new UI in Apple Music on iOS 8.4. When an audio track begins to play, a miniplayer appears just above the tab bar, and it can be brought into full screen mode my dragging it up or tapping on it. I imagine this is using the…
Moshe
  • 57,511
  • 78
  • 272
  • 425
4
votes
3 answers

iOS 13: MPMediaPickerController - Internal Error / The requested app extension could not be found

It seems that the general MPMediaPicker is not working anymore on ios13 (ipad air 2, iphone SE) The example 1:1 copied from there is not showing up the media…
Martin Mlostek
  • 2,755
  • 1
  • 28
  • 57
4
votes
0 answers

Fade out downloaded songs from Apple Music

How can I make downloaded Apple Music songs fade out (volume decrease steadily over a few seconds)? Recently I've been getting into trying to get Apple Music songs to play in my app. I've gotten them to play through the system/application music…
4
votes
2 answers

Android Webview - Apple Music iframe doesn't load

I have a feed which give me an iframe related to Apple Music. It also has iframe related to Spotify and others. All other iframes load without issue, but the apple music doesn't. This is the iframe i have for the apple music.