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

MusicKit Login to Multiple Accounts

I am trying to create an iOS app in swift that can retrieve information from the Apple Music API about multiple users (different accounts). For example: User 1 logs in User 2 logs in Make API requests to gather information about user 1 and user…
jeremyms
  • 319
  • 2
  • 11
0
votes
0 answers

How can I make Apple Music collection Accessible to other users in my app?

I want to make an iOS app that can play music from Apple Music. I tried this using Swift 4, and the result is shown in this video: MyApp_that_can_access_AppleMusic_VideoLink As the video shown, I can access my Apple Music library (using my Apple…
Luthfi Rahman
  • 424
  • 6
  • 17
0
votes
1 answer

iOS11 MPMusicPlayerController's nowPlayingItem method stuck

Did anybody experience MPMusicPlayerController's nowPlayingItem method being stuck after iOS 11 upgrade? It gets SIGSTOP eventually after couple of seconds.
Anna
  • 1
  • 1
0
votes
1 answer

Not getting playlist name from Apple Music

I want to get Playlist Name, but it gives value of Mpconcreteitem. let myQuery2 : MPMediaQuery = MPMediaQuery.playlists() let playlist = myQuery2.collections print(playlist!) for album in playlist!{ print("---------------") print("playlist…
0
votes
0 answers

MPMediaPlaylist - delete a song

Is it possible to delete a song from a MPMediaPlaylist playlist? I have the ability to get all the songs in a list: NSArray *songs = [playlist items]; Can I loop through this with a given productID and delete the item?
scgough
  • 5,099
  • 3
  • 30
  • 48
0
votes
1 answer

Is it possible to generate a playlist from two users liked music or playlists, through Spotify or Apple Music?

I am trying to generate a playlist from two users different playlists. I know you can get a public playlist from a Spotify users id, hopefully their most played,but i am not sure if you can combine it with another user's playlist?
0
votes
1 answer

How To Enable iCloud Music Library Through Objective-C

Is there a way to enable the iCloud Music Library through code in such a way that it calls the same functions that are called when a user tries adding a song to their playlist in Apple Music if they do not have iCloud Music Library enabled? Just to…
0
votes
2 answers

Find out which apple music songs are playable in your country (e.g. via track_id)

Using the apple itunes search api it is possible to get information on songs such as artist, title and apple store track_id: Using an MPMusicPlayerController (i tried both system and application) one should be able to play songs using: player =…
David Schumann
  • 13,380
  • 9
  • 75
  • 96
0
votes
0 answers

Play apple music playlist through 3rd party app?

I am building a 3rd party app that can playback Apple Music. I know that this can be done for individual tracks, can I also queue up an existing public Apple Music playlist on my 3rd party app?
brakes
  • 139
  • 2
0
votes
1 answer

Access Apple Music Api outside iOS

I'm looking at creating a playlist creation tool for Apple Music. Apple just release an api for iOS that allows this functionality. Does anyone know if it is possible to use this api from NodeJS or some other service side technology? Music Api…
TWilly
  • 4,863
  • 3
  • 43
  • 73
0
votes
1 answer

Swift 2 - sharedApplication() - Apple Music Search Api

I am trying to open from my app Apple Music app using UIApplication.sharedApplication().openURL and search for an artist or having a link opening a related page where the song is. Is there an api I can use to search on the Apple Music App? Is this…
SNos
  • 3,430
  • 5
  • 42
  • 92
-1
votes
1 answer

UserDefaults to Image code builds, but crashes when ran

I am coming from reading code from a ton of StackOverFlow posts for what seems to be a rather simple procedure, but when I try to implement what I've learned in my own code it fails. In my "ViewController" didSelectRowAt function, I initialized the…
ctm
  • 88
  • 1
  • 1
  • 10
-1
votes
1 answer

How to set toolbar title appear on scroll from bottom as it implemented in Apple Music Android app?

I want to implement scroll behavior for Toolbar title as its implemented in Apple Music Android app. Detailed screenshots of its behaviour: Initial State, Start scrolling, Continue Scrolling, End of scroll Thank you in advance!
Alex
  • 31
  • 7
-1
votes
1 answer

History : song played at

Is there a way to obtain the playing timestamp when I'm fetching users' history (recent-played) through Apple Music API ? I'm trying to fetch 1 month's listening history but it didn't seem to be possible.
Alex T
  • 33
  • 6
-2
votes
2 answers

how to use discord.py to put a custom prescense on a users account?

I want to make a program that shows the current song playing on a users (mine) apple music app on MacOS and display the info in the users' discord presence (not on a bot account), similar to the Spotify integration. However, all of the docs I'm…
1 2 3
13
14