The closest thing to this is by observing the SystemMusicPlayer.shared this class gives you queue and state instance properties .
With the currentEntry.item of the queue you can get a Song or MusicVideo ID so you can use that to fetch the right content
More about SystemPlayer: https://developer.apple.com/documentation/musickit/systemmusicplayer
EDIT: Just noticed this was about the Apple Music API and not MusicKit
Topic:
Media Technologies
SubTopic:
General
Tags: