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
1
vote
0 answers

How to fetch songs by genre/category with the Apple Music API

I have spent some time on the Apple Music API docs on how to list songs by genre but can't find it. How can I use the API to list songs that belong to a genre e.g rock? The search endpoint is close but I can't limit it to a genre. Thanks in…
Jobie J
  • 117
  • 5
1
vote
0 answers

MPMusicPlayerController does not playing Music on tvOS

Hey there im trying to play music by MPMusicPlayerController. But when i start to prepare the player it goes into a timeout. (not in the completionHandler) Here is the Error: [SDKPlayback] applicationQueuePlayer _establishConnectionIfNeeded timeout…
1
vote
1 answer

MPMusicController play/pause API functions regardless Media Library permission accepted or denied

We are using MPMusicController in order to play short sound, but from iOS 13.4 onwards the application started crashing due to missing NSAppleMusicUsageDescription key in the info.plist. However, after adding the key in info.plist, play/pause API of…
Aman.Samghani
  • 2,151
  • 3
  • 12
  • 27
1
vote
1 answer

How To sign in to Applemusic With Python Using Chrome Driver With Selenium

I am trying to write a code using Python with selenium that will login to Applemusic. Should open this URL: https://music.apple.com/login After which the sign in Frame would pop up, I want to be able to input the AppleID (say example@gmail.com)…
1
vote
0 answers

How to stop Music from restoring old files after file rename

So, I have a bunch of music stored on a hard-drive which I use and hook up to Apple Music. I received the Music from someone and it had all sorts of weird song names, for example I CANT IMAGINE (all caps) instead of "I Can't Imagine". So I went…
1
vote
0 answers

How do you get an ISRC from Apple Music on-device?

Is there any way using MediaKit/MusicKit on iOS on-device to get an ISRC (International Standard Recording Code) from a MPMediaItem in a reliable way? I know that MusicKit JS has this metadata, but is it hiding somewhere on iOS?
Wil Gieseler
  • 1,893
  • 1
  • 17
  • 18
1
vote
1 answer

Can I use Apple's SKCloudServiceController through python?

I've been trying to construct an app (using python-flask, and react JS as a front end display) as a side project for my own practice that authenticates a user into Spotify, then takes a playlist from their library and re creates it in Apple Music.…
1
vote
1 answer

Is it safe to store developer tokens on the client for the Apple Music API?

I'm writing an application that interfaces with Apple Music API, and up until this point, all of my API calls were non-personalized, such as searching for a catalog song or artist. The typical flow would be the client app searches for something by…
rahultimate
  • 43
  • 1
  • 5
1
vote
0 answers

Apple Music (MusicKit) userToken outside iOS

I'm trying to develop an app that can interact with the user music library. The application will be Windows-based (so far). I had no problem with Spotify and other music APIs. However, I'm stuck with Apple Music (MusicKit) API. I was able to create…
1
vote
0 answers

Apple Music API, 'stations' Resource Type Playback

I am trying to play 'stations' resources from Apple Music Catalogue. I retrieve the radio station via the Apple Music API i.e. Search for Catalogue Resources which gives me a station response (StationResponse): { attributes = { artwork = …
1
vote
1 answer

How to play music using Apple Music Kit JS

I'm trying to create a small player using Apple Music Kit JS but I'm having issues when playing the song. This is my current code: Hear for…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/apple-music" class="post-tag grid--cell" title="show questions tagged 'apple-music'" rel="tag">apple-music</a> <a href="../../questions/tagged/apple-musickit" class="post-tag grid--cell" title="show questions tagged 'apple-musickit'" rel="tag">apple-musickit</a> <a href="../../questions/tagged/apple-musickit-js" class="post-tag grid--cell" title="show questions tagged 'apple-musickit-js'" rel="tag">apple-musickit-js</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 15 '20 at 23:22">asked May 15 '20 at 23:22</time> <a href="../../users/11611341/ethan-lipnik" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/11611341.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ethan Lipnik" /> </a> <div class="s-user-card--info"> <a href="../../users/11611341/ethan-lipnik" class="s-user-card--link">Ethan Lipnik</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">21</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-60905222"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/60905222/apple-music-api-get-history-between-date-range" class="question-hyperlink">Apple Music API get history between Date range</a></h3> <div class="excerpt">I would like to get a history of the user's recently played resources. However, I do not want to get the full history but the history between a specific date range. Example: Max has been listening to Apple Music for 5 years now. I would now like to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/apple-music" class="post-tag grid--cell" title="show questions tagged 'apple-music'" rel="tag">apple-music</a> <a href="../../questions/tagged/apple-musickit" class="post-tag grid--cell" title="show questions tagged 'apple-musickit'" rel="tag">apple-musickit</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 28 '20 at 18:34">asked Mar 28 '20 at 18:34</time> <a href="../../users/10203069/linus-hologram" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10203069.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="linus_hologram" /> </a> <div class="s-user-card--info"> <a href="../../users/10203069/linus-hologram" class="s-user-card--link">linus_hologram</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,595</li> <li class="s-award-bling s-award-bling__silver" title="13 silver badges">13</li> <li class="s-award-bling s-award-bling__bronze" title="38 bronze badges">38</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-60530891"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/60530891/apple-music-search-api-rate-limit" class="question-hyperlink">Apple Music Search API rate limit</a></h3> <div class="excerpt">I'm using Apple Music API to get track/album related information, Search for catalog resources Request. I'd like to know if there is any rate limit on the API usage (request throttling). I couldn't find any details of this in their Documentation /…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/throttling" class="post-tag grid--cell" title="show questions tagged 'throttling'" rel="tag">throttling</a> <a href="../../questions/tagged/rate-limiting" class="post-tag grid--cell" title="show questions tagged 'rate-limiting'" rel="tag">rate-limiting</a> <a href="../../questions/tagged/apple-music" class="post-tag grid--cell" title="show questions tagged 'apple-music'" rel="tag">apple-music</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 04 '20 at 16:43">asked Mar 04 '20 at 16:43</time> <a href="../../users/1429387/naxa-stands-with-ukraine" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1429387.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="naXa stands with Ukraine" /> </a> <div class="s-user-card--info"> <a href="../../users/1429387/naxa-stands-with-ukraine" class="s-user-card--link">naXa stands with Ukraine</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">35,493</li> <li class="s-award-bling s-award-bling__gold" title="19 gold badges">19</li> <li class="s-award-bling s-award-bling__silver" title="190 silver badges">190</li> <li class="s-award-bling s-award-bling__bronze" title="259 bronze badges">259</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-60405362"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/60405362/swift-mpmusicplayercontroller-applicationqueueplayer-skiptonextitem-function-c" class="question-hyperlink">Swift MPMusicPlayerController ApplicationQueuePlayer skipToNextItem() function causes the queue to be cleared</a></h3> <div class="excerpt">I'm working on a music playing app that shows a list of Apple Music songs in a TableView and plays them in a certain order, but am having issues with the MPMusicPlayerController's application queue player. Due to the requirements of the app, I can…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/ios" class="post-tag grid--cell" title="show questions tagged 'ios'" rel="tag">ios</a> <a href="../../questions/tagged/swift" class="post-tag grid--cell" title="show questions tagged 'swift'" rel="tag">swift</a> <a href="../../questions/tagged/mpmusicplayercontroller" class="post-tag grid--cell" title="show questions tagged 'mpmusicplayercontroller'" rel="tag">mpmusicplayercontroller</a> <a href="../../questions/tagged/apple-music" class="post-tag grid--cell" title="show questions tagged 'apple-music'" rel="tag">apple-music</a> <a href="../../questions/tagged/apple-musickit" class="post-tag grid--cell" title="show questions tagged 'apple-musickit'" rel="tag">apple-musickit</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 26 '20 at 01:01">asked Feb 26 '20 at 01:01</time> <a href="../../users/12740208/alex-mortimer" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12740208.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Alex Mortimer" /> </a> <div class="s-user-card--info"> <a href="../../users/12740208/alex-mortimer" class="s-user-card--link">Alex Mortimer</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">13</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-60132147"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/60132147/begingeneratingplaybacknotifications-is-not-called" class="question-hyperlink">beginGeneratingPlaybackNotifications is not called</a></h3> <div class="excerpt">beginGeneratingPlaybackNotifications doesn't seem to be being called in my app. I can fetch the storeIds and the music is playing (and I can skip forwards and backwards) but the notification never seems to be called. Any advice or is there something…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/swift" class="post-tag grid--cell" title="show questions tagged 'swift'" rel="tag">swift</a> <a href="../../questions/tagged/apple-music" class="post-tag grid--cell" title="show questions tagged 'apple-music'" rel="tag">apple-music</a> <a href="../../questions/tagged/apple-musickit" class="post-tag grid--cell" title="show questions tagged 'apple-musickit'" rel="tag">apple-musickit</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 08 '20 at 23:19">asked Feb 08 '20 at 23:19</time> <a href="../../users/12865204/renovator" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12865204.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="renovator" /> </a> <div class="s-user-card--info"> <a href="../../users/12865204/renovator" class="s-user-card--link">renovator</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">59</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=5" rel="prev" title="Go to page 5">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=13" rel="" title="Go to page 13">13</a> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=14" rel="" title="Go to page 14">14</a> <a class="s-pagination--item" href="../../questions/tagged/apple-music_page=7" rel="next" title="Go to page 7"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>