No positive or negative feedback when queueing with MPMusicPlayerController
Originator: | jay.whitsitt | ||
Number: | rdar://28454177 | Date Originated: | 23 Sept 2016 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | iOS 10 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: There's no positive or negative feedback after queueing a media item with MPMusicPlayerController. As such, it's not possible to know if the track will in fact play or not after calling the play method. The lack of positive feedback makes it extremely risky when preloading a song for a user. Without something similar to AVPlayerStatusReadyToPlay, there's no way of preemptively knowing if the song will actually play. The lack of negative feedback makes it impossible to know if the ID given to MPMusicPlayerController is valid for the user's locale. Steps to Reproduce: 1. [SKCloudServiceController requestAuthorization:handler]; 2. If granted, [[MPMusicPlayerController applicationMusicPlayer] setQueueWithStoreIDs:@[@"302053341"]]; Expected Results: A delegate method or notification of some sort that gives positive and negative feedback about play state and individual MPMediaItem playability. Actual Results: Nothing Version: iOS 10.0.1, Xcode 8.0, OS X El Capitan 10.11.6 Notes: Configuration: iPhone 6, Project Fi Attachments:
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!