Now Playing Item is nil on using MPMusicPlayerStoreQueueDescriptor to playback on Mac Catalyst

Originator:tanmay.sonawane
Number:rdar://FB9890270 Date Originated:9th Feb 2022
Status:Open Resolved:No
Product:Media Player Framework Product Version:macOS 12.2
Classification: Reproducible:Always
 
This issue affects only Catalyst, last reproduced on macOS 12.2.

Please download the attached project and run it on a Mac running macOS 12.2 or older.
			
The following bugs are noticed on tapping the play button:

1. `startItemID` is completely ignored and playback will always begin from 1st item in queue.
2. Only Apple Music app will show the playback info, the nowPlayingItem and playback queue in the app itself will be blank.
3. Console will be full of `[SDKPlayback] systemMusicPlayer _establishConnectionIfNeeded timeout [ping did not pong]` messages.

Sample project: https://www36.zippyshare.com/v/8R7dygHm/file.html

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!