If the shuffle or repeat settings are changed in my app and then the SystemMusicPlayer queue is changed, the shuffle or repeat settings will revert to the Music app settings.
How can I retain the shuffle and repeat settings in my app until the settings are changed in another app?
The queue is set up as follows
let musicPlayer = SystemMusicPlayer.shared
musicPlayer.queue = SystemMusicPlayer.Queue(for: trackList, startingAt: track)