MusicKit Lag and Delays

I often find when doing basic actions in MusicKit it is incredibly slow compared to Apple's Music App. I've tried different versions, devices, networks, Apple's sample code, it all throughout the last several years, and it is all the same. Does anyone else have this issue?

Yes I've found the same issue. Even the simplest play song on the system queue like:

try await SystemMusicPlayer.shared.insert(song, position: .afterCurrentEntry)

cause a hang. Will you guys fix this? @MusicKit Team

Yes, for example loading large Playlist’s songs can take even few seconds when using MusicKit, meanwhile using MPMediaPlaylist from ancient MediaPlayer framework I get playlist’s items instantly. That makes me think Apple Music app doesn’t use MusicKit under the hood because it is so slow

MusicKit Lag and Delays
 
 
Q