Get Now Playing item in MusicPlayer

I cannot find any way to get Now Playing item in ApplicationMusicPlayer or SystemMusicPlayer.

Is there any way to get it? If not, please consider adding a property to access the now playing item. I have also filed a feedback regarding this. FB9192603

Thank you

Accepted Reply

Hello @RahulRS,

Thank you very much for the feedback.

We're working on it.

Best regards,

Add a Comment

Replies

Hello @RahulRS,

Thank you very much for the feedback.

We're working on it.

Best regards,

Add a Comment

Hello @RahulRS ,

We have made a number of changes to MusicKit's playback API in iOS 15 beta 4.

You can now get information about what is currently playing with ApplicationMusicPlayer.shared.queue.currentEntry and SystemMusicPlayer.shared.queue.currentEntry.

I hope this helps.

Best regards,