MPMusicPlayerController Has No Way To Get The Playback Queue

Originator:brian
Number:rdar://9323538 Date Originated:22-Apr-2011 08:34 AM
Status:Open Resolved:
Product:iPhone SDK Product Version:8H7
Classification:Enhancement Reproducible:Always
 
Summary:
While MPMusicPlayerController has API to set the playback queue (-setQueueWithQuery:, -setQueueWithItemCollection:), it has no API to get the playback queue. 

Consequently, it is impossible to determine which playlist music is playing from, or sort-order if no playlist contains the nowPlayingItem. This type of information is important for my application, Seamless (<seamlessapp.com>), in particular, because it means we cannot preserve a user's position in a playlist / sort-order when transitioning their music back to their Mac.

Steps to Reproduce:
1. Observe that there is no API for getting the playback queue from MPMusicPlayerController.

Expected Results:
There should be an API for getting the playback queue from MPMusicPlayerController.

Actual Results:
There is no API for getting the playback queue from MPMusicPlayerController.

Comments

one more to the list

I also would like to see this in the next iOS release.

By dsanchezcisneros at July 15, 2012, 1:43 p.m. (reply...)

I've just discovered this issue and need it badly. A bit of a missing API feature really as when your App which is using an iPodPlayer goes into background there is no way in knowing which tracks have been played, so when you come back any queue display you have no longer matches the current playback queue!! It would be good to be able to get the current playback queue when my App view ReAppears so I can update my queue display with current state.

Agreed

I also have a need for this functionality. Seems like a huge hole in the API.


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!