Our macOS app uses MusicKit to search the Apple Music catalog and browse the customer's library. We are not using ApplicationMusicPlayer for playback. The customer's own Music app is the player, and our app is acting as a browser and remote for it.
When the customer picks a catalog search result that is not already in their library, we would like to add it to their library, or to a playlist we create and clearly label as belonging to our app, so that it becomes playable from their library.
Is using MusicLibrary to add a catalog item to the user's library a supported use of MusicKit in an app that does not itself play the content?
Is creating and writing to a clearly labelled playlist of our own preferable to adding to the top-level library, or is either fine?
Is there any supported way to hand a catalog item to the Music app for playback without adding it to the library first? We have tried open location with a music.apple.com URL, which opens the item's page but does not begin playback.
0
0
111