Updating the SystemMusicPlayer queue resets the shuffle and repeat settings

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)

Replies

Hello @birnimal,

Which version of iOS are you seeing this issue on?

Thanks,

Add a Comment

Hello @birnimal,

Thank you for your question about repeat and shuffle modes with SystemMusicPlayer.

Would you mind filing a new ticket on Feedback Assistant, including a sysdiagnose taken immediately after reproducing this issue?

Thank you very much in advance.

Best regards,

  • Thank you for your confirmation. I submitted FB9959590 with attached sysdiagnose.

Add a Comment