Include iTunes Store ID in MPMediaItem data
Originator: | jay.whitsitt | ||
Number: | rdar://28569390 | Date Originated: | 30 Sept 2016 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | |
Classification: | Enhancement | Reproducible: |
Summary: In order to match a MPMediaItem object to an entity from the iTunes search API, there needs to be a field that exposes the Store ID of the item. If a user has an Apple Music subscription, this would allow playing the content using the queueWithStoreIDs method on MPMusicPlayerController. This would only be relevant for iOS 9.3 and up since queueWithStoreIDs was first introduced then. Steps to Reproduce: 1. Query for MPMediaItems 2. Sync the data across multiple devices within my app Expected Results: Songs are playable on the other device Actual Results: There is no relevant ID matching the song to playable content Version: iOS 9.3+ Notes: Configuration: Any device 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!
Awesome - I radar'd this too, under rdar://27121057
Btw there's no reason this should be tied to an Apple Music or iTunes Match subscription. The media library definitely has iTunes IDs for tracks purchased from the iTunes Store, and probably for tracks ripped from CDs too.
Comment to Apple 30-Sep-2016 01:57 PM
Also, this would only work if the user has an Apple Music subscription or at the very least has an iTunes Match subscription since that would be required to resolve a media file to iTunes content.