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
2
votes
3 answers

Playing song with Apple Music API does not update control center or lock screen

I am using Apple's new Apple Music API to make an app. I have a screen with a list of songs, and the user can tap one to play it. My code partially works. The song that is tapped will play, but it does not show up on the control center. The control…
Benr783
  • 2,860
  • 4
  • 20
  • 28
2
votes
1 answer

Apple Music API - search songs and create playlist (MacOS)

I'm looking for API that would allow do these tasks Search song in Apple Music Create playlist Add songs to playlist Thanks in advance.
Andrew Square
  • 393
  • 1
  • 4
  • 13
2
votes
1 answer

How to access Apple Music album art in iTunes via Apple Script

I'm trying to create an application that sets the desktop background to the album artwork of the current song playing in iTunes, but have come across an issue where my script can't read the album art of an Apple Music song unless it has been added…
2
votes
2 answers

Apple Music Songs - MPMusicPlayerController giving wrong playbackState

As Apple said in iOS 9.3 we can Access Apple Music Library. I am playing it from my application by MPMusicPlayerController. I am getting wrong playbackState. For Ex. If song continue playing - so it should return status MPMusicPlaybackStatePlaying…
Anupam Mishra
  • 3,408
  • 5
  • 35
  • 63
2
votes
0 answers

Add Apple Music track to iTunes on OSX

As per this article, it is now possible for third party apps running on iOS 9.3 to add Apple Music track to a user's playlist. Is there something similar on the latest OSX?
Teejay
  • 7,210
  • 10
  • 45
  • 76
2
votes
1 answer

Apple Music & AVAudioEngine in Swift

How can we access songs in the Apple Music library with AVAudioPlayerNode/AVAudioEngine for playback and processing? I have asked this question in Apple forum.
Ivan
  • 31
  • 6
2
votes
1 answer

Is it possible to access music downloaded via Apple Music?

I'm able to access the music that is downloaded on my iPhone THAT I PURCHASED before Apple Music existed. However, I can't seem to find the URLs of the songs that I've downloaded through Apple Music. Does anybody know anything about Apple Music when…
swiftyboi
  • 2,965
  • 4
  • 25
  • 52
2
votes
1 answer

How to create UI and Controls like Apple Music App in Android?

Video Link I want to create view and animation like Apple Music App available in iOS. But, I want to do it in Android similar to above video link. Is it possible to create such views in Android? How can I achieve this? How to proceed in…
Amrut Bidri
  • 6,276
  • 6
  • 38
  • 80
2
votes
1 answer

Does iTunes have an SDK or API to use?

Is there a way to import to apple music playlist without having the mp3 for the song, that apple music will automatically find and allow you to play? OR Is there anyway to add a playlist to iTunes Apple Music without having the song and getting…
archiekd
  • 43
  • 7
1
vote
0 answers

How to select music folder on iOS in flutter

I'm developing a flutter app and I need to reproduce some music from the device allowing the user to choose the folder where the music files are stored. I tried to use the package file_picker (https://pub.dev/packages/file_picker) that should open…
MarcoF
  • 147
  • 9
1
vote
0 answers

Launching Apple Music with a specific library using Applescript

I'd like to have an Applescript change the current Apple Music library automatically, instead of requiring me to hold down the option key when opening the app and manually select a new one. I found this answer which apparently works for iTunes, but…
sdk3n
  • 13
  • 4
1
vote
1 answer

Background Audio mode with MPMusicPlayerController.systemMusicPlayer

I'm working on an iOS app that uses MPMusicPlayerController.systemMusicPlayer to play songs from Apple Music to the user. My app should be able to append songs to the Music player's queue based on messages it receives from a server. I have this…
cbwi
  • 33
  • 1
  • 6
1
vote
2 answers

can applescript toggle choices in iTunes/Music form?

I just migrated to Monterey from 10.14 and the migration destroyed all the display settings in my playlists. I have over 200 playlists, so I'm trying to write a script that will set them all to MY default setting, not Apple's default. I've got part…
dottore
  • 11
  • 2
1
vote
0 answers

Error when creating MPMusicPlayerPlayParameters from tracks uploaded to iTunes

I'm using the Apple Music API to get albums, tracks, playlists, etc from the user's music library. I would like to prepend these songs to the systemMusicPlayer's queue. This works great for songs that are from the catalog and a catalogID. However,…
Jacob Cavin
  • 2,169
  • 3
  • 19
  • 47
1
vote
1 answer

How to open Browse tab in Apple Music app from our app?

I am able to open Apple's default Music app using following code: if let appleMusicUrl = URL(string:"music://") { UIApplication.shared.open(appleMusicUrl, options: [:]) { done in } } What I want is that whenever I switch to Music app it opens…
N4SK
  • 700
  • 8
  • 25