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
0
votes
1 answer

Apple Music/iTunes English Capitalisation script - AppleScript

I'm trying to run the following script in the Apple Music app to use proper English capitalisation on the selected tracks (ignoring anything that is in all capital letters to start) So for example the track name... opportunities (Let's MAKE lots of…
Danny Shepherd
  • 363
  • 1
  • 3
  • 17
0
votes
2 answers

Is it possible to embed a "Now Playing" Apple Music player tied to my personal Music account on my html website?

This question was previously asked on Ask Different. I would like to write a widget which, when my personal Apple Music is currently playing, displays the track name and artist on my website to any visitors. Linking to the track in Music would be…
Eric
  • 1
  • 2
0
votes
2 answers

Execution error - AppleScript for Apple Music "The variable all_ps is not defined. (-2753)"

The script for batch exporting playlists from Apple Music app is throwing up the execution error: "The variable all_ps is not defined. (-2753)" This is the portion of the code in question: (-- GET ALL PLAYLISTS FROM APPLE MUSIC) try …
0
votes
0 answers

How to get apple music items size downloaded from apple music library without exporting the music items?

I am trying to retrieve the size of apple music items downloaded from the apple music library as iPod-library URL (ex. ipod-library://item/item.m4a?id=8536687568586472929) but without exporting to the document directory, I am unable to get the…
0
votes
0 answers

AudioSegment after convert and Export, Double Duration after Exported in Mac Music

After I Converted it, if i click get info it shows the real duration ConvertFile = AudioSegment.from_file(fullPath, format=fileFormat) ConvertFile.export(fullPath,format=self.ExportFormat) But after I play it on MAC it doubles the playing time…
0
votes
2 answers

Swift UI: Apple Music API artwork quality is poor

So I implemented this code to get the song artwork from Apple Music based on what song the user searched for. However, the album cover is extremely blurry even when it is merely 50x50 in size. I can't figure out what is causing this issue. import…
Nexteon
  • 41
  • 6
0
votes
0 answers

Pulling Music Analytics Using APPLE MUSIC API

I'm trying to pull some data for my job and I do not really k now where to start. I need to pull Music Analytics from Apple Music via API and I need some directions. Any help or tips are…
0
votes
0 answers

MPMusicPlayerController, how to play multiple songs on ios

I'm trying to play multiple songs in my app using multiple instances of MPMusicPlayerController. I play the first song on the first player successfull but when I play the second song on the second player, the first one stops. It seems that only one…
0
votes
1 answer

requestUserToken forDeveloperToken returns user token without error but request from user’s personal library returns 401

I have my iOS app with StoreKit. I'm trying to get access to the user's personal library through https://api.music.apple.com/v1/me/library/artists?offset= Earlier, I created a developer token that should not expire. Then, after gaining access to…
Maxim
  • 33
  • 6
0
votes
0 answers

Adding a music to Apple Music Library using Apple Script

I have an AppleScript, which duplicates the currentTrack to my AppleMusic Library. Although, it seems that the Library has a capacity of (length of the library + 1), and whenever I add a new track using the duplicate this capacity is not increased.…
KadoBOT
  • 2,944
  • 4
  • 16
  • 34
0
votes
1 answer

Creating Library Playlist using Apple Music API and getting 400 - Bad Request?

As per this documentation shared link below, https://developer.apple.com/documentation/applemusicapi/create_a_new_library_playlist I'm able to get developer token and music user token but I am getting error for 'Invalid Request Body' (400 Bad…
0
votes
0 answers

What is the difference and typical use between the id, database id and persistent id properties of tracks in iTunes and Apple Music

On MacoS the properties of a filetrack object retrieved from iTunes or the newer Apple Music app show it has three similar properties id database id persistent id What is the difference and typical use between the id, database id and persistent id…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
0
votes
1 answer

How to get Apple music artwork using AppleScript

I have an AppleScript which retrieves several properties of the current track playing on apple music but I can't retrieve the artwork if application "Music" is running then tell application "Music" if player state is playing or player…
0
votes
1 answer

How can I delete Apple Music tracks from my Library using AppleScript?

My Apple Music library is too big. I want to weed it out by removing a whole load of tracks that I have never listened to. I already did the same thing successfully with playlists but my script isn't working to remove tracks: tell application…
0
votes
1 answer

Is there still a way to open an iTunes search API trackViewUrl in iTunes Store and not Apple Music?

Following this question we can get a JSON response from the iTunes Search API to direct users to the trackViewUrl. The answer suggested appending &app=itunes to have the iOS device open the URL in the iTunes Store instead of Apple Music, but my test…
Steve M
  • 9,296
  • 11
  • 49
  • 98