MPMusicPlayerController style playback for MacOS

Hey all,

It seems like there isn't support for MPMusicPlayerController on MacOS. I was trying to leverage MusicKit for a personal MacOS app with Apple Music playback.

I was wondering:

  1. Is there an alternative approach to using MPMusicPlayerController on MacOS where I can play Apple Music based entities in a similar style (e.g., player.setqueue(with: applesongid))?
  2. Are there known plans to bring MPMusicPlayerController to MacOS, or known reason why it's not supported?

Best!

Answered by Frameworks Engineer in 696430022

Hello @ikbleu,

Bringing MPMusicPlayerController to macOS does present some significant engineering challenges for us, which is why we have yet to enable support for this API on macOS.

We are always looking for ways to enable similar functionality in the macOS SDK, but most of our efforts in this area are actually going towards our modern MusicKit framework, which was released this year, and specifically towards SystemMusicPlayer and ApplicationMusicPlayer.

While this new framework doesn't offer this functionality either at the moment, you should definitely file a new ticket on Feedback Assistant outlining your needs for playback of Apple Music content on macOS, and your use-case. This will help us prioritize this task on our roadmap for future improvements to the SDK.

I hope this helps.

Best regards,

Accepted Answer

Hello @ikbleu,

Bringing MPMusicPlayerController to macOS does present some significant engineering challenges for us, which is why we have yet to enable support for this API on macOS.

We are always looking for ways to enable similar functionality in the macOS SDK, but most of our efforts in this area are actually going towards our modern MusicKit framework, which was released this year, and specifically towards SystemMusicPlayer and ApplicationMusicPlayer.

While this new framework doesn't offer this functionality either at the moment, you should definitely file a new ticket on Feedback Assistant outlining your needs for playback of Apple Music content on macOS, and your use-case. This will help us prioritize this task on our roadmap for future improvements to the SDK.

I hope this helps.

Best regards,

MPMusicPlayerController style playback for MacOS
 
 
Q